[PATCH 3/7] drm/imx/dcss: Enable COMPILE_TEST on all ARM64 platforms
Philipp Zabel
p.zabel at pengutronix.de
Fri Jul 30 12:31:53 UTC 2021
On Fri, 2021-07-30 at 14:10 +0200, Geert Uytterhoeven wrote:
> Hi Laurent,
>
> On Wed, Jul 28, 2021 at 5:37 PM Laurent Pinchart
> <laurent.pinchart+renesas at ideasonboard.com> wrote:
> > To extend test coverage, relax the dependency on ARCH_MXC to also enable
> > compilation when COMPILE_TEST is selected.
> >
> > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
>
> Thanks for your patch!
>
> > --- a/drivers/gpu/drm/imx/dcss/Kconfig
> > +++ b/drivers/gpu/drm/imx/dcss/Kconfig
> > @@ -3,7 +3,8 @@ config DRM_IMX_DCSS
> > select IMX_IRQSTEER
> > select DRM_KMS_CMA_HELPER
> > select VIDEOMODE_HELPERS
> > - depends on DRM && ARCH_MXC && ARM64
> > + depends on DRM
> > + depends on ARM64 && (ARCH_MXC || COMPILE_TEST)
>
> As you now have two depends statements, I think this would be easier
> to read by maintaining a strict separation between "hard" and "soft"
> dependencies:
>
> depends on DRM && ARM64
> depends on ARCH_MXC || COMPILE_TEST
I would let (ARCH_MXC && ARM64) stay together, and as Tomi suggested,
lift the ARM64 limitation if COMPILE_TEST is enabled:
depends on DRM
depends on (ARCH_MXC && ARM64) || COMPILE_TEST
regards
Philipp
More information about the dri-devel
mailing list