[PATCH v4 8/7] accel/ivpu: Add depend on !UML to Kconfig

Stanislaw Gruszka stanislaw.gruszka at linux.intel.com
Tue Dec 13 11:36:10 UTC 2022


VPU is integrated x86_64 device and the driver utilizes various CPU
architecture specific functions that don't exits on ARCH=um, so disable
build on UML.

Reported-by: kernel test robot <lkp at intel.com>
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka at linux.intel.com>
---
 drivers/accel/ivpu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/accel/ivpu/Kconfig b/drivers/accel/ivpu/Kconfig
index 110a6b921135..9bdf168bf1d0 100644
--- a/drivers/accel/ivpu/Kconfig
+++ b/drivers/accel/ivpu/Kconfig
@@ -3,7 +3,7 @@
 config DRM_ACCEL_IVPU
 	tristate "Intel VPU for Meteor Lake and newer"
 	depends on DRM_ACCEL
-	depends on X86_64
+	depends on X86_64 && !UML
 	depends on PCI && PCI_MSI
 	select FW_LOADER
 	select SHMEM
-- 
2.25.1


More information about the dri-devel mailing list