CONFIG_DEVICE_PRIVATE is a prerequisite for DRM_XE_GPUSVM.
Explicitly select it so that DRM_XE_GPUSVM is not unintentionally
left out from distro configs not explicitly enabling
CONFIG_DEVICE_PRIVATE.

Cc: Matthew Auld <[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: <[email protected]>
Signed-off-by: Thomas Hellström <[email protected]>
---
 drivers/gpu/drm/xe/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig
index c34be1be155b..c510f47f7a16 100644
--- a/drivers/gpu/drm/xe/Kconfig
+++ b/drivers/gpu/drm/xe/Kconfig
@@ -80,8 +80,8 @@ config DRM_XE_GPUSVM
        bool "Enable CPU to GPU address mirroring"
        depends on DRM_XE
        depends on !UML
-       depends on DEVICE_PRIVATE
        default y
+       select DEVICE_PRIVATE
        select DRM_GPUSVM
        help
          Enable this option if you want support for CPU to GPU address
-- 
2.52.0

Reply via email to