diff mbox series

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

Message ID 20221213113504.GA958172@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series New DRM accel driver for Intel VPU | expand

Commit Message

Stanislaw Gruszka Dec. 13, 2022, 11:36 a.m. UTC
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@intel.com>
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
---
 drivers/accel/ivpu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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