diff options
author | Akshata Jahagirdar <akshata.jahagirdar@intel.com> | 2024-07-17 21:10:06 +0000 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2024-07-17 17:02:31 -0700 |
commit | 523f191cc0c728a02a7e5fd0ec26526c41f399ef (patch) | |
tree | ea636498d93358733a844ec5f409d3a1c1a8b9ea /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2b808d6b2919cb2fe92901e5087da7b4ed4b9e07 (diff) |
drm/xe/xe_migrate: Handle migration logic for xe2+ dgfx
During eviction (vram->sysmem), we use compressed -> uncompressed mapping.
During restore (sysmem->vram), we need to use mapping from
uncompressed -> uncompressed.
Handle logic for selecting the compressed identity map for eviction,
and selecting uncompressed map for restore operations.
v2: Move check of xe_migrate_ccs_emit() before calling
xe_migrate_ccs_copy(). (Nirmoy)
Signed-off-by: Akshata Jahagirdar <akshata.jahagirdar@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/79b3a016e686a662ae68c32b5fc7f0f2ac8043e9.1721250309.git.akshata.jahagirdar@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions