diff options
| author | Imre Deak <imre.deak@intel.com> | 2021-11-01 20:35:50 +0200 |
|---|---|---|
| committer | Imre Deak <imre.deak@intel.com> | 2021-11-03 11:07:07 +0200 |
| commit | 8d2f683f1c49b3a3c56ab92437722eda7e85bac2 (patch) | |
| tree | 9076756a48f62be8b7acfd530a1dde6d02d44153 /tools/perf/scripts/python/libxed.py | |
| parent | drm/i915/adlp/fb: Remove restriction on CCS AUX plane strides (diff) | |
| download | linux-8d2f683f1c49b3a3c56ab92437722eda7e85bac2.tar.gz linux-8d2f683f1c49b3a3c56ab92437722eda7e85bac2.zip | |
drm/i915: Factor out i915_ggtt_suspend_vm/i915_ggtt_resume_vm()
Factor out functions that are needed by the next patch to suspend/resume
the memory mappings for DPT FBs.
No functional change, except reordering during suspend the
ggtt->invalidate(ggtt) call wrt. atomic_set(&ggtt->vm.open, open) and
mutex_unlock(&ggtt->vm.mutex). This shouldn't matter due to the i915
suspend sequence being single threaded.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211101183551.3580546-1-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
