✓ CI.checkpatch: success for drm/xe/dgfx: Release mmap mappings on rpm suspend (rev4)
Patchwork
patchwork at emeril.freedesktop.org
Thu Jan 4 11:10:29 UTC 2024
== Series Details ==
Series: drm/xe/dgfx: Release mmap mappings on rpm suspend (rev4)
URL : https://patchwork.freedesktop.org/series/122860/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
6030b24c1386b00de8187b5fb987e283a57b372a
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 63cba248fb73f246030c5d2a4f9a4e7223c2281c
Author: Badal Nilawar <badal.nilawar at intel.com>
Date: Fri Dec 22 23:20:36 2023 +0530
drm/xe/dgfx: Release mmap mappings on rpm suspend
Release all mmap mappings for all vram objects which are associated
with userfault such that, while pcie function in D3hot, any access
to memory mappings will raise a userfault.
Upon userfault, in order to access memory mappings, if graphics
function is in D3 then runtime resume of dgpu will be triggered to
transition to D0.
v2:
- Avoid iomem check before bo migration check as bo can migrate
to system memory (Matthew Auld)
v3:
- Delete bo userfault link during bo destroy
- Upon bo move (vram-smem), do bo userfault link deletion in
xe_bo_move_notify instead of xe_bo_move (Thomas Hellström)
- Grab lock in rpm hook while deleting bo userfault link (Matthew Auld)
v4:
- Add kernel doc and wrap vram_userfault related
stuff in the structure (Matthew Auld)
- Get rpm wakeref before taking dma reserve lock (Matthew Auld)
- In suspend path apply lock for entire list op
including list iteration (Matthew Auld)
v5:
- Use mutex lock instead of spin lock
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Cc: Matthew Auld <matthew.auld at intel.com>
Cc: Anshuman Gupta <anshuman.gupta at intel.com>
Signed-off-by: Badal Nilawar <badal.nilawar at intel.com>
Acked-by: Thomas Hellström <thomas.hellstrom at linux.intel.com> #For the
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
+ /mt/dim checkpatch 7b3b98d034784b125bad7aca46f9e7a3cfcde45a drm-intel
63cba248f drm/xe/dgfx: Release mmap mappings on rpm suspend
More information about the Intel-xe
mailing list