From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mauro Carvalho Chehab Subject: [PATCH 0/7] Enable most media drivers to build on ARM Date: Fri, 20 Apr 2018 13:42:46 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Cc: linux-fbdev@vger.kernel.org, Mans Rullgard , Sean Young , Stanimir Varbanov , dri-devel@lists.freedesktop.org, platform-driver-x86@vger.kernel.org, Mattia Dongili , Yong Zhi , linux-arch@vger.kernel.org, Ladislav Michl , Geert Uytterhoeven , Florian Tobias Schandinat , Mauro Carvalho Chehab , Jacob Chen , Hans Verkuil , Linux Media Mailing List , Arnd Bergmann , Bartlomiej Zolnierkiewicz , Mauro Carvalho Chehab , mjpeg-users@lists.sourceforge.net, Al Viro , Devin Heitmueller , Stephe List-Id: linux-arch.vger.kernel.org UmlnaHQgbm93LCBhbGwgbWVkaWEgZHJpdmVycyBidWlsZCBzdWNjZXNzZnVsbHkgd2l0aCBDT01Q SUxFX1RFU1Qgb24geDg2LApvbiBib3RoIGkzODYgYW5kIHg4Nl82NC4gWWV0LCBzZXZlcmFsIGRy aXZlcnMgdGhlcmUgZG9uJ3QgYnVpbGQgb24gb3RoZXIKYXJjaHMuCgpJIGRvbid0IG5lZWQgbXlz ZWxmIHRvIGJ1aWxkIGFsbCBkcml2ZXJzIG91dHNpZGUgeDg2LCBidXQgb3RoZXJzIGNvdWxkCmZp bmQgaXQgdXNlZnVsLiBJdCBhbHNvIHJlbHBzIHNwcmVhZGluZyBDT01QSUxFX1RFU1QgYnVpbGRz LCB3aXRoIHNvdW5kcwphIGdvb2QgaWRlYSwgYXMgbW9yZSBkZXZlbG9wZXJzIG1heSBiZSBzZWVp bmcgaXNzdWVzIGFuZCBzdWJtaXRpbmcgCnVzIHBhdGNoZXMuCgpTbywgdGhpcyBw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rKysrKy0KIGRyaXZlcnMvbWVkaWEvcmMvS2NvbmZpZyAgICAgICAg ICAgICB8IDEwICsrKy0tLS0KIGluY2x1ZGUvYXNtLWdlbmVyaWMvaW8uaCAgICAgICAgICAgICB8 ICAyICstCiBpbmNsdWRlL2xpbnV4L3NvbnktbGFwdG9wLmggICAgICAgICAgfCAgNCArKysKIGlu Y2x1ZGUvbGludXgvdmlhLWNvcmUuaCAgICAgICAgICAgICB8IDE3ICsrKysrKysrKysrKwogaW5j bHVkZS9saW51eC92aWEtZ3Bpby5oICAgICAgICAgICAgIHwgIDQgKysrCiBpbmNsdWRlL2xpbnV4 L3ZpYV9pMmMuaCAgICAgICAgICAgICAgfCAgNSArKysrCiBpbmNsdWRlL3ZpZGVvL29tYXBmYl9k c3MuaCAgICAgICAgICAgfCA1NCArKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrLS0K IDE0IGZpbGVzIGNoYW5nZWQsIDEwNyBpbnNlcnRpb25zKCspLCAxNyBkZWxldGlvbnMoLSkKCi0t IAoyLjE0LjMKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f XwpkcmktZGV2ZWwgbWFpbGluZyBsaXN0CmRyaS1kZXZlbEBsaXN0cy5mcmVlZGVza3RvcC5vcmcK aHR0cHM6Ly9saXN0cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from osg.samsung.com ([64.30.133.232]:51855 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753502AbeDTRnA (ORCPT ); Fri, 20 Apr 2018 13:43:00 -0400 From: Mauro Carvalho Chehab Subject: [PATCH 0/7] Enable most media drivers to build on ARM Date: Fri, 20 Apr 2018 13:42:46 -0400 Message-ID: Sender: linux-arch-owner@vger.kernel.org List-ID: Cc: Mauro Carvalho Chehab , Linux Media Mailing List , Mauro Carvalho Chehab , Sakari Ailus , dri-devel@lists.freedesktop.org, Stanimir Varbanov , Jacob Chen , Florian Tobias Schandinat , Hans Verkuil , Geert Uytterhoeven , linux-arch@vger.kernel.org, Sean Young , Arnd Bergmann , Bhumika Goyal , Ramesh Shanmugasundaram , Mattia Dongili , mjpeg-users@lists.sourceforge.net, Al Viro , Devin Heitmueller , Bartlomiej Zolnierkiewicz , platform-driver-x86@vger.kernel.org, Stephen Hemminger , linux-fbdev@vger.kernel.org, Ladislav Michl , Philipp Zabel , Shawn Guo , Mans Rullgard , Andi Kleen , Yong Zhi Message-ID: <20180420174246.O627mie0_CEJjFPOiAqKtN1s4oud7xKRKMGqb0I03DY@z> 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(-) -- 2.14.3 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mauro Carvalho Chehab Date: Fri, 20 Apr 2018 17:42:46 +0000 Subject: [PATCH 0/7] Enable most media drivers to build on ARM Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-fbdev@vger.kernel.org, Mans Rullgard , Sean Young , Stanimir Varbanov , dri-devel@lists.freedesktop.org, platform-driver-x86@vger.kernel.org, Mattia Dongili , Yong Zhi , linux-arch@vger.kernel.org, Ladislav Michl , Geert Uytterhoeven , Florian Tobias Schandinat , Mauro Carvalho Chehab , Jacob Chen , Hans Verkuil , Linux Media Mailing List , Arnd Bergmann , Bartlomiej Zolnierkiewicz , Mauro Carvalho Chehab , mjpeg-users@lists.sourceforge.net, Al Viro , Devin Heitmueller , Stephe 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(-) -- 2.14.3 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from osg.samsung.com ([64.30.133.232]:51855 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753502AbeDTRnA (ORCPT ); Fri, 20 Apr 2018 13:43:00 -0400 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , Linux Media Mailing List , Mauro Carvalho Chehab , Sakari Ailus , dri-devel@lists.freedesktop.org, Stanimir Varbanov , Jacob Chen , Florian Tobias Schandinat , Hans Verkuil , Geert Uytterhoeven , linux-arch@vger.kernel.org, Sean Young , Arnd Bergmann , Bhumika Goyal , Ramesh Shanmugasundaram , Mattia Dongili , mjpeg-users@lists.sourceforge.net, Al Viro , Devin Heitmueller , Bartlomiej Zolnierkiewicz , platform-driver-x86@vger.kernel.org, Stephen Hemminger , linux-fbdev@vger.kernel.org, Ladislav Michl , Philipp Zabel , Shawn Guo , Mans Rullgard , Andi Kleen , Yong Zhi Subject: [PATCH 0/7] Enable most media drivers to build on ARM Date: Fri, 20 Apr 2018 13:42:46 -0400 Message-Id: To: unlisted-recipients:; (no To-header on input)@bombadil.infradead.org Sender: linux-media-owner@vger.kernel.org List-ID: 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(-) -- 2.14.3