]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Restore system memory GGTT mappings
authorMatthew Brost <matthew.brost@intel.com>
Thu, 31 Oct 2024 18:22:57 +0000 (11:22 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 1 Nov 2024 16:11:30 +0000 (09:11 -0700)
commita19d1db9a3fa89fabd7c83544b84f393ee9b851f
treee41b86cceb553f7544b1067a01165153610c7a01
parent1a7b71805a3051ae04dde1307a6eecedaca857b8
drm/xe: Restore system memory GGTT mappings

GGTT mappings reside on the device and this state is lost during suspend
/ d3cold thus this state must be restored resume regardless if the BO is
in system memory or VRAM.

v2:
 - Unnecessary parentheses around bo->placements[0] (Checkpatch)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241031182257.2949579-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_bo.c
drivers/gpu/drm/xe/xe_bo_evict.c