kernel: disable IGD (video DRM) support
authorPhilip Prindeville <philipp@redfish-solutions.com>
Wed, 17 May 2023 15:38:48 +0000 (09:38 -0600)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 21 May 2023 12:25:52 +0000 (14:25 +0200)
commit3b2337b467b7bb39746a244e82506ffbbfae4897
treefda326e9c6ab401cafb6920c56fb46656dc335dc
parent066441b5e4919ab6a59a41f00209b8c8d19dc8a5
kernel: disable IGD (video DRM) support

IGD is only useful when accelerating a VM guest that wants to direct
render to memory in the host's framebuffer, but since OpenWrt
typically runs on headless hardware, this serves no purpose.

Also build vfio with VFIO_NOIOMMU undefined (to get all of the code
enabled), but allow it to be enabled via boot-time modparams
settings (or at run-time via sysfs writes to
"/sys/module/vfio/parameters/enable_unsafe_noiommu_mode".

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
package/kernel/linux/modules/virt.mk