Skip to content

drm, drm/xe: Fix xe SVM configs

Thomas Hellström dri-devel intel-xe stable 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 5 repliesIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 1 replySuperseded

v2 from the cover letter

- Also take CONFIG_ZONE_DEVICE into account. (Xe CI) v3:
- Depend on CONFIG_ZONE_DEVICE rather than selecting it. (Xe CI)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm, drm/xe: Fix xe userptr in the absence of CONFIG_DEVICE_PRIVATEdrivers/gpu/drm/Kconfig drivers/gpu/drm/Makefile drivers/gpu/drm/xe/Kconfig +1 more+19 -74 replies
2/2drm/xe: Select CONFIG_DEVICE_PRIVATE when DRM_XE_GPUSVM is selecteddrivers/gpu/drm/xe/Kconfig+2 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMatthew AuldMaarten Lankhorst
1/2R-b A-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] drm, drm/xe: Fix xe SVM configs

The first patch fixes the problem of xe userptr not being enabled if CONFIG_DEVICE_PRIVATE or CONFIG_ZONE_DEVICE is missing.

Second patch explicitly selects CONFIG_DEVICE_PRIVATE and CONFIG_ZONE_DEVICE if DRM_XE_GPUSVM is enabled, which is probably what most distros want. This patch is not Fixes: tags since some configurations may actively want to exclude CONFIG_DEVICE_PRIVATE / CONFIG_ZONE_DEVICE and it's undesirable if a stable update breaks those.

v2:
- Also take CONFIG_ZONE_DEVICE into account. (Xe CI) v3:
- Depend on CONFIG_ZONE_DEVICE rather than selecting it. (Xe CI)

Cc Matthew Auld <[email protected]>
Cc Himal Prasad Ghimiray <[email protected]>
Cc Thomas Hellström <[email protected]>
Cc Matthew Brost <[email protected]>
Cc "Thomas Hellström" <[email protected]>
Cc Rodrigo Vivi <[email protected]>

Thomas Hellström (2):
drm, drm/xe: Fix xe userptr in the absence of CONFIG_DEVICE_PRIVATE drm/xe: Select CONFIG_DEVICE_PRIVATE when DRM_XE_GPUSVM is selected

 drivers/gpu/drm/Kconfig    |  2 +-
 drivers/gpu/drm/Makefile   |  4 +++-
 drivers/gpu/drm/xe/Kconfig |  5 +++--
 include/drm/drm_pagemap.h  | 18 ++++++++++++++----
 4 files changed, 21 insertions(+), 8 deletions(-)
Signature · 1 line
2.52.0