]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/vmwgfx: Fix missing HYPERVISOR_GUEST dependency
authorAlexey Makhalov <alexey.makhalov@broadcom.com>
Sun, 16 Jun 2024 01:25:10 +0000 (18:25 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 17 Jun 2024 09:56:54 +0000 (11:56 +0200)
VMWARE_HYPERCALL alternative will not work as intended without VMware guest code
initialization.

  [ bp: note that this doesn't reproduce with newer gccs so it must be
    something gcc-9-specific. ]

Closes: https://lore.kernel.org/oe-kbuild-all/202406152104.FxakP1MB-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alexey Makhalov <alexey.makhalov@broadcom.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240616012511.198243-1-alexey.makhalov@broadcom.com
drivers/gpu/drm/vmwgfx/Kconfig

index faddae3d6ac2e09f39eedcd019041cbfd9266e38..6f1ac940cbae7086e460fb562da256e6a4af141e 100644 (file)
@@ -2,7 +2,7 @@
 config DRM_VMWGFX
        tristate "DRM driver for VMware Virtual GPU"
        depends on DRM && PCI && MMU
-       depends on X86 || ARM64
+       depends on (X86 && HYPERVISOR_GUEST) || ARM64
        select DRM_TTM
        select DRM_TTM_HELPER
        select MAPPING_DIRTY_HELPERS