Skip to content

drm/i915/dpt: Try to make DPT shrinkable again

Ville Syrjala intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915: Don't reuse commit_work for the cleanupdrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display_types.h+5 -31 reply
2/4drm/i915: Intruduce display.wq.cleanupdrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display_core.h drivers/gpu/drm/i915/display/intel_display_driver.c+7 -11 reply
3/4drm/i915/dpt: Evict all DPT VMAs on suspenddrivers/gpu/drm/i915/display/intel_display_driver.c drivers/gpu/drm/i915/display/intel_dpt.c drivers/gpu/drm/i915/gt/intel_ggtt.c +1 more+21 -96 replies
4/4Revert "drm/i915/dpt: Make DPT object unshrinkable"drivers/gpu/drm/i915/gem/i915_gem_object.h+1 -32 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchVidya SrinivasBrian Geffon
SeriesT-b
1/4R-b
2/4R-b
3/4R-b
4/4R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] drm/i915/dpt: Try to make DPT shrinkable again

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(-)
Signature · 1 line
2.45.2