Skip to content

Enable most media drivers to build on ARM

Mauro Carvalho Chehab dri-devel linux-arch linux-fbdev linux-media platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7asm-generic, media: allow COMPILE_TEST with virt_to_busdrivers/media/pci/sta2x11/Kconfig drivers/media/pci/zoran/Kconfig include/asm-generic/io.h+5 -43 replies
2/7media: meye: allow building it with COMPILE_TEST on non-x86drivers/media/pci/meye/Kconfig include/linux/sony-laptop.h+6 -12 replies
3/7media: rc: allow build pnp-dependent drivers with COMPILE_TESTdrivers/media/rc/Kconfig+5 -51 reply
4/7media: ipu3: allow building it with COMPILE_TEST on non-x86 archsdrivers/media/pci/intel/ipu3/Kconfig+1 -21 reply
5/7omapfb: omapfb_dss.h: add stubs to build with COMPILE_TEST && DRM_OMAPinclude/video/omapfb_dss.h+52 -219 replies
6/7media: omap2: allow building it with COMPILE_TEST && DRM_OMAPdrivers/media/platform/omap/Kconfig+2 -10 replies
7/7media: via-camera: allow build on non-x86 archs with COMPILE_TESTdrivers/media/platform/Kconfig drivers/media/platform/via-camera.c include/linux/via-core.h +2 more+36 -26 replies

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchSean YoungSakari AilusBartlomiej ZolnierkiewiczMauro Carvalho Chehab
1/7
2/7
3/7A-b
4/7A-b
5/7A-b
6/7
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] Enable most media drivers to build on ARM

Right now, all media drivers build successfully with COMPILE_TEST on x86, on both i386 and x86_64. Yet, several drivers there don't build on other archs.

I don't need myself to build all drivers outside x86, but others could find it useful. It also relps spreading COMPILE_TEST builds, with sounds a good idea, as more developers may be seeing issues and submiting us patches.

So, this patch series makes most of them to be built elsewhere (tested only with ARM with allyesconfig). The only two media drivers that don't build on such conditions are:

1) media/staging/atomisp: it uses several ACPI bits that no other media driver requires (including Intel IPU3);

2) radio-miropcm20: This device depnds on ISA_DMA_API, with is available only for a few non-Intel architectures.

In other words, the following symbols aren't enabled with allyesconfig:

	INTEL_ATOMISP VIDEO_ATOMISP
	VIDEO_ATOMISP_MSRLIST_HELPER VIDEO_ATOMISP_MT9M114
	VIDEO_ATOMISP_GC0310  VIDEO_ATOMISP_GC2235 
	VIDEO_ATOMISP_OV2722 VIDEO_ATOMISP_OV5693
	VIDEO_ATOMISP_OV2680 VIDEO_ATOMISP_LM3554
	RADIO_MIROPCM20

All patches in this series are available at:

https://git.linuxtv.org/mchehab/experimental.git/log/?h=compile_test_v7

Mauro Carvalho Chehab (7):
asm-generic, media: allow COMPILE_TEST with virt_to_bus
media: meye: allow building it with COMPILE_TEST on non-x86
media: rc: allow build pnp-dependent drivers with COMPILE_TEST
media: ipu3: allow building it with COMPILE_TEST on non-x86 archs
omapfb: omapfb_dss.h: add stubs to build with COMPILE_TEST && DRM_OMAP
media: omap2: allow building it with COMPILE_TEST && DRM_OMAP
media: via-camera: allow build on non-x86 archs with COMPILE_TEST

 drivers/media/pci/intel/ipu3/Kconfig |  3 +-
 drivers/media/pci/meye/Kconfig       |  3 +-
 drivers/media/pci/sta2x11/Kconfig    |  4 +--
 drivers/media/pci/zoran/Kconfig      |  3 +-
 drivers/media/platform/Kconfig       |  2 +-
 drivers/media/platform/omap/Kconfig  |  3 +-
 drivers/media/platform/via-camera.c  | 10 ++++++-
 drivers/media/rc/Kconfig             | 10 +++----
 include/asm-generic/io.h             |  2 +-
 include/linux/sony-laptop.h          |  4 +++
 include/linux/via-core.h             | 17 ++++++++++++
 include/linux/via-gpio.h             |  4 +++
 include/linux/via_i2c.h              |  5 ++++
 include/video/omapfb_dss.h           | 54 ++++++++++++++++++++++++++++++++++--
 14 files changed, 107 insertions(+), 17 deletions(-)
Signature · 7 lines
2.14.3


_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel