From: Ville Syrjälä <[email protected]>
Try to make DPT objects shrinakble once again. To overcome
the earlier suspend/resume issues we'll just make sure all
DPT VMAs are evicted during suspend, and thus resume won't
care whether the DPT objects got kicked out or not.
The proper solution would perhaps be to do the DPT CPU
mapping on demand in dpt insert_{page,range}() but that
would require a bunch of extra thought (especially for
DPTs allocated from stolen).
Cc: Brian Geffon <[email protected]>
Cc: Vidya Srinivas <[email protected]>
Ville Syrjälä (4):
drm/i915: Don't reuse commit_work for the cleanup
drm/i915: Intruduce display.wq.cleanup
drm/i915/dpt: Evict all DPT VMAs on suspend
Revert "drm/i915/dpt: Make DPT object unshrinkable"
drivers/gpu/drm/i915/display/intel_display.c | 6 +++---
.../gpu/drm/i915/display/intel_display_core.h | 3 +++
.../drm/i915/display/intel_display_driver.c | 6 ++++++
.../drm/i915/display/intel_display_types.h | 2 ++
drivers/gpu/drm/i915/display/intel_dpt.c | 4 ++--
drivers/gpu/drm/i915/gem/i915_gem_object.h | 4 +---
drivers/gpu/drm/i915/gt/intel_ggtt.c | 19 ++++++++++++++-----
drivers/gpu/drm/i915/gt/intel_gtt.h | 4 ++--
8 files changed, 33 insertions(+), 15 deletions(-)
--
2.45.2