[PATCH v2 0/9] drm: Extend COMPILE_TEST support to some ARM drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 definitely resulted in more time being spent writing these
patches, but hopefully they'll turn out to be useful for more people.

Patches 1/9 to 3/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/9 to 8/9 enable compilation of the imx-dcss, omapdrm, sti-drm
and tegra-drm drivers on all architectures with COMPILE_TEST. I have
tested compilation on arm64 and x86, with W=1. The patches are
independent from each other, so they can be picked by their respective
maintainers.

The last patch, 9/9, extends COMPILE_TEST support for the tilcdc driver
to ARM64. The driver doesn't compile on x86 due to a missing __iowmb(),
and I haven't taken the time to investigate how to solve this properly.

The main change since v1 is the extension of COMPILE_TEST to all
platforms instead of only ARM and ARM64.

Please feel free to pick patches individually for the driver(s) you
maintain.

Laurent Pinchart (9):
  drm/omap: Use correct printk format specifiers for size_t
  drm/omap: Cast pointer to integer without generating warning
  drm/sti: Use correct printk format specifiers for size_t
  drm/imx/dcss: Enable COMPILE_TEST on all architectures
  drm/omap: Enable COMPILE_TEST on all architectures
  drm/rcar-du: Enable COMPILE_TEST on all architectures
  drm/sti: Enable COMPILE_TEST on all architectures
  drm/tegra: Enable COMPILE_TEST on all architectures
  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/dss/dsi.c  | 4 ++--
 drivers/gpu/drm/omapdrm/omap_drv.c | 2 +-
 drivers/gpu/drm/rcar-du/Kconfig    | 1 -
 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 +-
 10 files changed, 14 insertions(+), 12 deletions(-)

-- 
Regards,

Laurent Pinchart




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux