]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/pagemap: Drop source_peer_migrates flag and assume true
authorMatthew Brost <matthew.brost@intel.com>
Fri, 10 Apr 2026 20:59:26 +0000 (13:59 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Mon, 13 Apr 2026 03:51:11 +0000 (20:51 -0700)
commit667e95ce2816631fc196c8136122819f5b630a67
tree202e68f1c7414b802cdd23329b83b0deaa683a3d
parent37ad039fb3674a36dbf082fa5c864af1b791eccd
drm/pagemap: Drop source_peer_migrates flag and assume true

All current users of DRM pagemap set source_peer_migrates to true during
migration, and it is unclear whether any user would ever want to disable
this for performance reasons or for features such as compression. It is
also questionable whether this flag could be made to work with
high-speed fabric mapping APIs.

Drop the flag and make DRM pagemap unconditionally assume that
source_peer_migrates is true.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patch.msgid.link/20260410205929.3914474-3-matthew.brost@intel.com
drivers/gpu/drm/drm_pagemap.c
drivers/gpu/drm/xe/xe_svm.c
include/drm/drm_pagemap.h