[PATCH 0/7] drm: Extend COMPILE_TEST support to some ARM drivers
Laurent Pinchart
laurent.pinchart+renesas at ideasonboard.com
Wed Jul 28 15:37:29 UTC 2021
Hello,
This patch series stems from subsystem-wide changes I wanted to
compile-test with an ARM64 cross-compiler. My laziness to fire a 32-bit
ARM build probably resulted in more time being spent writing these
patches, but hopefully they'll turn out to be useful for more people :-)
Patches 1/7 and 2/7 are fixes for compilation warnings on 64-bit
platforms in the omapdrm and sti-drm drivers. They are a dependency for
the Kconfig changes that follow to avoid introducing build warnings, but
could also be merged before.
Patches 3/7 to 7/7 enable compilation of the imx-dcss, omapdrm, sti-drm,
tegra-drm and tilcdc drivers on ARM64 with COMPILE_TEST. The patches are
independent from each other, so they can be picked by their respective
maintainers.
We could also extend test compilation to more architecture, but I didn't
want to remove all dependencies on ARM or ARM64 at this point for fear
or triggering build warnings that I wouldn't be able to catch locally.
If there's a consensus that fully relaxing the platform requirement is
better, I can submit a new version that does so and rely on the 0day bot
to catch issues.
Laurent Pinchart (7):
drm/omap: Cast pointer to integer safely
drm/sti: Use correct printk format specifiers for size_t
drm/imx/dcss: Enable COMPILE_TEST on all ARM64 platforms
drm/omap: Enable COMPILE_TEST on all ARM and ARM64 platforms
drm/sti: Enable COMPILE_TEST on all ARM and ARM64 platforms
drm/tegra: Enable COMPILE_TEST on all ARM64 platforms
drm/tilcdc: Enable COMPILE_TEST on all ARM64 platforms
drivers/gpu/drm/imx/dcss/Kconfig | 3 ++-
drivers/gpu/drm/omapdrm/Kconfig | 2 +-
drivers/gpu/drm/omapdrm/omap_drv.c | 2 +-
drivers/gpu/drm/sti/Kconfig | 3 ++-
drivers/gpu/drm/sti/sti_hqvdp.c | 4 ++--
drivers/gpu/drm/tegra/Kconfig | 2 +-
drivers/gpu/drm/tilcdc/Kconfig | 3 ++-
drivers/gpu/host1x/Kconfig | 2 +-
8 files changed, 12 insertions(+), 9 deletions(-)
--
Regards,
Laurent Pinchart
More information about the dri-devel
mailing list