aboutsummaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/video.mk
Commit message (Collapse)AuthorAge
* kernel: kmod-drm-imx-hdmi: Fix kmod-drm-display-helper dependencyHauke Mehrtens2025-07-27
| | | | | | | | | | | | Select the kmod-drm-display-helper package instead of depending on it. kmod-drm-display-helper is hidden now, so the user can not manually select it. This fixes the build of the imx target. Fixes: 8bcc6d1894eb ("kernel: kmod-drm-display-helper: Mark hidden") Link: https://github.com/openwrt/openwrt/pull/19532 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-drm-display-helper: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_DRM_DISPLAY_HELPER has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-drm-buddy: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_DRM_BUDDY has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-video-async: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_V4L2_ASYNC has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-video-fwnode: Mark hiddenHauke Mehrtens2025-07-26
| | | | | | | | The Kernel config option CONFIG_V4L2_FWNODE has no title and can not be directly selected. Do the same for this kmod and make it hidden. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-backlight-pwm/kmod-hwmon-pwmfan: Depend on PWM_SUPPORTHauke Mehrtens2025-07-26
| | | | | | | | These drivers depend on the kernel option CONFIG_PWM, only add them to OpenWrt for targets which have PWM support. Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-video-cpia2: Remove driverHauke Mehrtens2025-07-26
| | | | | | | | | This driver was removed in kernel 6.3 [0], remove it from OpenWrt too. [0]: https://git.kernel.org/linus/9ea8a9c72a9b4d24e6045ee25f5e465dc22f9f55 Link: https://github.com/openwrt/openwrt/pull/19480 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: video: package driver for TC358762Daniel Golle2025-07-20
| | | | | | Create module package for Toshiba TC358762 DSI/DPI bridge driver. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: modules: video: individually package simple-panel.koDaniel Golle2025-07-20
| | | | | | | | The DRM modules for simple (ie. raw, non-eDP) panels can be used also by platforms others than Freescale i.MX. Create an individual package for it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: modules: video: fix video-coda for 6.12Tim Harvey2025-06-07
| | | | | | | | Linux 6.8 changed the directory structure for the video-code driver. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Link: https://github.com/openwrt/openwrt/pull/19029 Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: modules: define fb-io-fops moduleMieczyslaw Nalewaj2025-05-19
| | | | | | | | | | | | | | | | Define define fb-io-fops module - Fbdev helpers for framebuffers in I/O memory By creating a hidden module it is possible to load fb_io_fops.ko according to the kernel version. Fixes: 5048c9d ("kernel: modules: adjust the object files of kmod-fb ") Package kmod-drm-radeon is missing dependencies for the following libraries: fb_io_fops.ko make[2]: *** [modules/video.mk:620: /__w/openwrt/openwrt/openwrt/bin/targets/x86/geode/packages/kmod-drm-radeon-6.12.28-r1.apk] Error 1 time: package/kernel/linux/compile#45.35#40.01#75.34 Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/18771 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: package intel_vpu driverJoe Zheng2025-05-15
| | | | | | | | Add package for linux intel_vpu driver for Intel NPU/VPU Signed-off-by: Joe Zheng <joe.zheng@intel.com> Link: https://github.com/openwrt/openwrt/pull/17904 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: modules: video: package DRM VRAM helperÁlvaro Fernández Rojas2025-05-10
| | | | | | bcm27xx DRM packages depend on it. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: modules: adjust the object files of kmod-fbShiji Yang2025-05-08
| | | | | | | | | kmod-fb no longer depends on fb_io_fops.ko since 6.8 kernel. Link: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.8.y&id=8813e86f6d82a7931446c3cbc5d596f77d0f1ba6 Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18661 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel/drm-ttm-helper: 6.12: fix missing dependencyMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | | | | Add missing depends kmod-drm-kms-helper. Package kmod-drm-ttm-helper is missing dependencies for the following libraries: drm_kms_helper.ko fb_sys_fops.ko syscopyarea.ko sysfillrect.ko sysimgblt.ko Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel/backlight: 6.12: fix missing dependencyMieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | Add missing depends kmod-fb. Package kmod-backlight is missing dependencies for the following libraries: fb.ko Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: update fb-sys-fops package for kernel 6.12Mieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | For kernel 6.12 the fb-sys-fops module setting has been renamed from CONFIG_FB_SYS_FOPS to CONFIG_FB_SYSMEM_FOPS. This patch sets the KCONFIG value depending on the kernel version. Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=27ad64eac10fcb25fcbfb813921f4d30b3458e13 Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: update fb package on x86 for kernel 6.12Mieczyslaw Nalewaj2025-04-30
| | | | | | | | | | | | | For kernel 6.12 the fb package uses video-common.ko instead of fbdev.ko. The patch switches these files depending on the kernel version. Ref: - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=2fd001cd36005846caa6456fff1008c6f5bae9d4 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=34cda5ab89d4f30bc8d8f8d28980a7b8c68db6ec Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: package v4l2-async and v4l2-fwnode driversThomas Richard2024-11-23
| | | | | | | | These packages are needed for the stm32/stm32mp1 subtarget. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/16716 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: package media controller driverThomas Richard2024-11-23
| | | | | | | | It is needed for the stm32/stm32mp1 subtarget. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/16716 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: disable drm-i915 module for x86/geodeMieczyslaw Nalewaj2024-11-17
| | | | | | | | | Disable drm-i915 module for target x86/geode. Fixes: 77cfe8f ("x86: make i915 as a kmod with required firmware") Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16977 Signed-off-by: Robert Marko <robimarko@gmail.com>
* x86: make i915 as a kmod with required firmwareJoe Zheng2024-11-15
| | | | | | | | | | | i915 driver requires to load correct firmware to work on latest x86 GPU, it is more reasonable to make it as a kernel module, so that initramfs is not required, and it can also save some space from the kernel image comparing being a built-in driver Signed-off-by: Joe Zheng <joe.zheng@intel.com> Link: https://github.com/openwrt/openwrt/pull/16276 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: modules: package driver for generic MIPI DBI TFT panelsDaniel Golle2024-11-08
| | | | | | | | | | | Package kmod-drm-panel-mipi-dbi as well as modules it depends on in order to support a wide range of MIPI DBI complaint SPI-connected TFT panels. See https://github.com/notro/panel-mipi-dbi/ for more information on how to use specific panels. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* packages: remove remnants of kernels below 6.6Mieczyslaw Nalewaj2024-09-21
| | | | | | | | Remove remnants of kernels below 6.6. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16432 Signed-off-by: Robert Marko <robimarko@gmail.com>
* packages: remove kernel 5.15 remnantsMieczyslaw Nalewaj2024-09-20
| | | | | | | | Remove kernel 5.15 remnants. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16417 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: modules: video: add kmod-video-gspca-pac7302Luiz Angelo Daros de Luca2024-07-21
| | | | | | | | Add the package for the Pixart PAC7302 USB Camera Driver kernel module. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15886 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 6.6 to 6.6.33 and adjust subarchesJohn Audia2024-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit accomplishes three goals: 1. bump 6.6 to 6.6.33 2. kernel: modules: video: change package definition for fb for upstream changes[1] 3. kernel/multiple subtargets: add CONFIG_FB_IOMEM_FOPS=y to all subtargets which also set CONFIG_FB_CORE=y. Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.33 Removed upstreamed: pending-6.6/195-block-fix-and-simplify-blkdevparts-cmdline-parsing.patch[2] gemini/patches-6.6/0003-net-ethernet-cortina-Locking-fixes.patch[3] Manually rebased: ramips/patches-6.6/810-uvc-add-iPassion-iP2970-support.patch All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.6.y&id=c00e8fd749502c02085534c60b1edca4fc479c91 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.33&id=99bbbd9aea059f8a206736dc601be2ae61d366fb 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.33&id=8f6f82d6a205ceb3aba8d279f9ff6eeea0b1689b Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Tested-by: Stijn Segers <foss@volatilesystems.org> Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: modules: video: adapt imx modules for 6.6Tim Harvey2024-06-06
| | | | | | | the ipuv3 based video kernel modules moved into the ipuv3 directory for 6.6. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: modules: video: fix imx-ldbTim Harvey2024-06-06
| | | | | | | | | | | Commit ae8bf1a26e15 ("imx: add imx8m support") configured the drm-imx-ldb kmod for imx_cortexa9 and imx_cortexa7 however it is only applicable to imx_cortexa9 (imx6). Fix this so that we can avoid a missing module config for cortexa7 when moving to the 6.6 kernel. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: Split kmod-video-dma into two kmodsHauke Mehrtens2024-06-02
| | | | | | | | | | | | Split the kmod-video-dma into kmod-video-dma-sg and kmod-video-dma-contig. The old one contained two kmods, but sometimes only one of them is build which caused problems. The configuration options are not manually selectable in the kernel and hidden in OpenWrt. Currently this causes build failures on some targets. Fixes: 4d7cbe0a5590 ("kernel: video-dma: explicitly state packaged modules") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: video-dma: explicitly state packaged modulesTomasz Maciej Nowak2024-05-31
| | | | | | | Because wildcard in variable stating packaged modules, the filtering for built-in kernel modules didn't work and would cause a packaging failure. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
* kernel: Add CONFIG_FB_DEVICE to kmod-fbHauke Mehrtens2024-05-31
| | | | | | | | | | At least kmod-fb-tft depends on CONFIG_FB_DEVICE and can not be activated without it. This configuration option was added with kernel 6.6, before this featre was always activated. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: video: adapt for loongarch64Weijie Gao2024-05-04
| | | | | | | | | | | * Allow kmod-acpi-video to be built for loongarch64: The x86-specific CONFIG_ACPI_WMI will be split from default kmod-acpi-video as a board-specific addition. * Allow kmod-drm-amdgpu to be built for loongarch64: Also add loongarch64-specific configs and modules. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* imx: add imx8m supportTim Harvey2024-03-24
| | | | | | | | | | | | | | | | | | | | Add imx8m support: - add a cortexa53 subtarget to imx - move ARCH and KERNELNAME to subtargets - account for kernel modules that are not used for cortexa53 No device-specific targets or firmware images are created yet but all imx8m* dtbs will be built. enabling CONFIG_TARGET_ROOTFS_INITRAMFS results in openwrt-imx-cortexa53-imx8m-initramfs-kernel.bin which has been successfully booted on an imx8mm-evk using the following: u-boot=> tftpboot $fdt_addr_r image-imx8mm-evk.dtb && \ tftpboot $kernel_addr_r openwrt-imx-cortexa53-imx8m-initramfs-kernel.bin && \ booti $kernel_addr_r - $fdt_addr_r Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: modules: video: select drm-exec and drm-suballoc-helper for AMDGPURobert Marko2024-03-15
| | | | | | | | drm-amdgpu and drm-radeon require drm-exec and/or drm-suballoc-helper in 6.6, so since we have them packaged separately include them when required. Fixes: 5b08b5600720 ("kernel: modules: video: adapt for kernel 6.6") Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: modules: video: package DRM suballocation helperRobert Marko2024-03-15
| | | | | | | | | | Linux 6.4 has split out the previously AMDGPU specific suballocation helper into a generic one and it has its own symbol now. So, lets package it as a separate helper as AMDGPU still requires it for 6.6. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: modules: video: package DRM EXECRobert Marko2024-03-15
| | | | | | | Linux 6.6 has added DRM EXEC as a separate symbol, so package it separately as AMDGPU requires it. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: modules: video: drm: remove DRM_EXEC and DRM_SUBALLOC_HELPERRobert Marko2024-03-15
| | | | | | | | | | | | | As part of adding kernel 6.6 support, DRM_EXEC and DRM_SUBALLOC_HELPER were added to the kmod-drm, however these are only used by drm-amdgpu and drm-radeon which are only supported on x86. So, lets start fixing building of other targets by removing these from the main kmod-drm, in follow-up commits they will be packaged separately and selected when required. Fixes: 5b08b5600720 ("kernel: modules: video: adapt for kernel 6.6") Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: kmod-video-cpia2: Depend on kernel 5.15Hauke Mehrtens2024-03-14
| | | | | | | | | | | This driver was moved to staging in kernel 6.1 and then removed in kernel 6.3, see these commits: https://git.kernel.org/linus/be8cebc46d9d38166a1b3fda22a018ae52b0928e https://git.kernel.org/linus/9ea8a9c72a9b4d24e6045ee25f5e465dc22f9f55 Build it only on older kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: video: adapt for kernel 6.6Weijie Gao2024-03-11
| | | | | | | | | | | Adapt video kmods for building under kernel 6.6: * Add drm_exec.ko and drm_suballoc_helper.ko for kmod-drm as they are added since 6.6 and 6.4 * Add uvc.ko for kmod-video-uvc as related contents was split as a new module since 6.3 Signed-off-by: Tan Zien <nabsdh9@gmail.com> Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* kernel: modules: video: add missing video-mem2mem symbolÁlvaro Fernández Rojas2024-02-05
| | | | | | v4l2-mem2mem.ko needs CONFIG_V4L2_MEM2MEM_DEV symbol. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: modules: video: add missing video-videobuf2 symbolÁlvaro Fernández Rojas2024-02-05
| | | | | | videobuf2-v4l2.ko needs CONFIG_VIDEOBUF2_V4L2 symbol. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: modules: video: remove v4l2-common from video-coreÁlvaro Fernández Rojas2024-02-05
| | | | | | | v4l2-common.ko was merged into videodev.ko and no longer exists. Fixes: ac5671f46cb4 ("kernel: remove obsolete kernel version switches for 4.19") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: modules: video: fix video-coda for 6.1Tim Harvey2024-02-02
| | | | | | | The coda kernel modules were moved between 5.15 and 6.1. Adapt the coda-vpu and imx-vdoa modules for that. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: modules: video: fix drm-imx for 6.1Tim Harvey2024-02-02
| | | | | | | | Linux 6.1 changed DRM_GEM_DMA_HELPER to a module (drm_dma_helper.ko). Add this to the drm-imx to fix module dependencies. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: modules: video: fix kmod-imx-pxp build for 6.1Lech Perczak2024-02-02
| | | | | | | Location of the module file was changed between 5.15 and 6.1. Adapt the recipe for that. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* kernel: modules: video: fix video-core for 6.1Tim Harvey2024-02-02
| | | | | | | | Linux 6.1 wraps core video drivers in a MEDIA_PLATFORM_DRIVERS submenu. Enable that for 6.1 and add some new necessary undefines to target/linux/generic/config-6.1 to avoid build failures. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: modules: video: fix kmod-video-imx-ldb build under 6.1Lech Perczak2024-02-02
| | | | | | | drm_dp_aux_bus.ko isn't built or required anymore under kernel 6.1. Mark that in the recipe. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* kernel: modules: video: fix deps for kmod-drm-imx-hdmi for 6.1Lech Perczak2024-02-02
| | | | | | | kmod-drm-imx-hdmi depends on kmod-drm-display-helper since 6.1. Include that in OpenWrt's recipes. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* x86: kernel: modules: clean makefilesPascal Coudurier2023-12-09
| | | | Signed-off-by: Pascal Coudurier <coudu@gmx.com>