Skip to content

drm/i915/dpt: Fix DPT+shmem combo and add i915.enable_dpt modparam

Ville Syrjala intel-gfx stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/i915/dpt: Treat the DPT BO as a framebufferdrivers/gpu/drm/i915/display/intel_dpt.c drivers/gpu/drm/i915/gem/i915_gem_object.h drivers/gpu/drm/i915/gem/i915_gem_object_types.h+6 -11 reply
2/6drm/i915/dpt: Only do the POT stride remap when using DPTdrivers/gpu/drm/i915/display/intel_fb.c+1 -10 replies
3/6drm/i915/dpt: Introduce HAS_DPT()drivers/gpu/drm/i915/display/intel_fb.c drivers/gpu/drm/i915/i915_drv.h+3 -10 replies
4/6drm/i915: Add PLANE_CHICKEN registersdrivers/gpu/drm/i915/i915_reg.h+9 -00 replies
5/6drm/i915/dpt: Add a modparam to disable DPT via the chicken bitdrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_dpt.c drivers/gpu/drm/i915/display/intel_dpt.h +6 more+46 -30 replies
6/6drm/i915: Move PLANE_BUG_CFG bit definitons to the correct placedrivers/gpu/drm/i915/i915_reg.h+5 -50 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJuha-Pekka Heikkila
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

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

Read the v1 thread

Cover letter [Intel-gfx] [PATCH 0/6] drm/i915/dpt: Fix DPT+shmem combo and add i915.enable_dpt modparam

From: Ville Syrjälä <[email protected]>

Avoid the shrinker evicting the DPT during hibernate and causing an oops. This might also fix DPT induced display faults during high memory pressure (though still don't have a real theory how that could actually happen).

Also add a i915.enable_dpt modparam to disable DPT usage via the chicken bit. This can be useful when trying to debug suspected DPT issues.

Ville Syrjälä (6):
drm/i915/dpt: Treat the DPT BO as a framebuffer drm/i915/dpt: Only do the POT stride remap when using DPT drm/i915/dpt: Introduce HAS_DPT()
drm/i915: Add PLANE_CHICKEN registers
drm/i915/dpt: Add a modparam to disable DPT via the chicken bit drm/i915: Move PLANE_BUG_CFG bit definitons to the correct place

 drivers/gpu/drm/i915/display/intel_display.c  |  6 +++++
 drivers/gpu/drm/i915/display/intel_dpt.c      | 23 +++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_dpt.h      |  2 ++
 drivers/gpu/drm/i915/display/intel_fb.c       | 11 +++++----
 drivers/gpu/drm/i915/display/intel_fb.h       |  1 +
 .../drm/i915/display/skl_universal_plane.c    |  6 +++++
 drivers/gpu/drm/i915/gem/i915_gem_object.h    |  2 +-
 .../gpu/drm/i915/gem/i915_gem_object_types.h  |  3 +++
 drivers/gpu/drm/i915/i915_drv.h               |  2 ++
 drivers/gpu/drm/i915/i915_params.c            |  3 +++
 drivers/gpu/drm/i915/i915_params.h            |  1 +
 drivers/gpu/drm/i915/i915_reg.h               | 21 +++++++++++++----
 12 files changed, 70 insertions(+), 11 deletions(-)
Signature · 1 line
2.39.2