]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Select CONFIG_DEVICE_PRIVATE when DRM_XE_GPUSVM is selected
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Wed, 21 Jan 2026 09:10:48 +0000 (10:10 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 22 Jan 2026 10:27:25 +0000 (11:27 +0100)
commite27ada4f19e7ffda4c05ce8633daf6daed667eea
tree358a31ffe7e1d9ed0e40acd745825a00b61ea64b
parentbdcdf968be314b6fc8835b99fb4519e7619671e6
drm/xe: Select CONFIG_DEVICE_PRIVATE when DRM_XE_GPUSVM is selected

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.

v2:
- Select also CONFIG_ZONE_DEVICE since it's needed by
  CONFIG_DEVICE_PRIVATE.
v3:
- Depend on CONFIG_ZONE_DEVICE rather than selecting it.

Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: <dri-devel@lists.freedesktop.org>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patch.msgid.link/20260121091048.41371-3-thomas.hellstrom@linux.intel.com
(cherry picked from commit 9386f49316074d2d76fd78d6bd359996de42fb7f)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/Kconfig