Message ID | 20240408170426.9285-20-ville.syrjala@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Neil Armstrong |
Headers | show |
Series | None | expand |
On Mon, Apr 8, 2024 at 7:05 PM Ville Syrjala <ville.syrjala@linux.intel.com> wrote: > > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > Allow meson to be built with COMPILE_TEST=y for greater > coverage. Builds fine on x86/x86_64 at least. > > Cc: Neil Armstrong <neil.armstrong@linaro.org> > Cc: linux-amlogic@lists.infradead.org > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Thank you for spotting this Ville! > --- > drivers/gpu/drm/meson/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/meson/Kconfig b/drivers/gpu/drm/meson/Kconfig > index 5520b9e3f010..d8f67bd9c755 100644 > --- a/drivers/gpu/drm/meson/Kconfig > +++ b/drivers/gpu/drm/meson/Kconfig > @@ -1,7 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0-only > config DRM_MESON > tristate "DRM Support for Amlogic Meson Display Controller" > - depends on DRM && OF && (ARM || ARM64) > + depends on DRM && OF && (ARM || ARM64 || COMPILE_TEST) Neil, I wonder if we should just have "depends on DRM && OF" here as the next line already has: > depends on ARCH_MESON || COMPILE_TEST ARCH_MESON is only defined for ARM and ARM64
diff --git a/drivers/gpu/drm/meson/Kconfig b/drivers/gpu/drm/meson/Kconfig index 5520b9e3f010..d8f67bd9c755 100644 --- a/drivers/gpu/drm/meson/Kconfig +++ b/drivers/gpu/drm/meson/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_MESON tristate "DRM Support for Amlogic Meson Display Controller" - depends on DRM && OF && (ARM || ARM64) + depends on DRM && OF && (ARM || ARM64 || COMPILE_TEST) depends on ARCH_MESON || COMPILE_TEST select DRM_KMS_HELPER select DRM_GEM_DMA_HELPER