diff options
| author | Imre Deak <[email protected]> | 2021-11-01 20:35:50 +0200 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2021-11-03 11:07:07 +0200 |
| commit | 8d2f683f1c49b3a3c56ab92437722eda7e85bac2 (patch) | |
| tree | 9076756a48f62be8b7acfd530a1dde6d02d44153 /scripts/objdiff | |
| parent | e6d6f689435aaebc2e407026d9fdfc2d89bd7902 (diff) | |
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 <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions