[Intel-xe] [PATCH 0/2] Fix deadlock issue on d3cold

Riana Tauro riana.tauro at intel.com
Mon Dec 4 05:26:07 UTC 2023


kernel BOs need to be restored to the same place in VRAM, and with
d3cold that means that any VRAM allocation can
potentially steal the spot from kernel BOs which then blows up when
waking the device up.

However if we end up moving xe_device_mem_access_get() much higher
up in the hierarchy (start of the gem_create_ioctl) then
this is no longer possible.

This patch fixes the deadlock issue seen in
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/256
Also enables d3cold to get CI results

Riana Tauro (2):
  RFC drm/xe: Move xe_device_mem_access_get to the top of
    gem_create_ioctl
  CI drm/xe: Enable d3cold

 drivers/gpu/drm/xe/xe_bo.c | 26 ++++++++++++++++++++------
 drivers/gpu/drm/xe/xe_pm.h |  2 +-
 2 files changed, 21 insertions(+), 7 deletions(-)

-- 
2.40.0



More information about the Intel-xe mailing list