On 28/07/2021 18:37, Laurent Pinchart wrote:
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.
I would allow compilation for any architecture if COMPILE_TEST is enabled. I think git grep shows that is how COMPILE_TEST is usually used.
Tomi