✓ CI.checkpatch: success for drm/xe/dgfx: Release mmap mappings on rpm suspend (rev5)

Patchwork patchwork at emeril.freedesktop.org
Thu Jan 4 19:34:52 UTC 2024


== Series Details ==

Series: drm/xe/dgfx: Release mmap mappings on rpm suspend (rev5)
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 a56e30dd2cfe637645a2102b02d020b2fb90ff00
Author: Badal Nilawar <badal.nilawar at intel.com>
Date:   Thu Jan 4 18:37:02 2024 +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
    v6:
      - Fix review comments (Matthew Auld)
    
    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 xe_bo_move_notify() changes
    Reviewed-by: Matthew Auld <matthew.auld at intel.com>
+ /mt/dim checkpatch 7b3b98d034784b125bad7aca46f9e7a3cfcde45a drm-intel
a56e30dd2 drm/xe/dgfx: Release mmap mappings on rpm suspend




More information about the Intel-xe mailing list