[v2,00/20] drm/i915: Proper dbuf global state
mbox series

Message ID 20200225171125.28885-1-ville.syrjala@linux.intel.com
Headers show
  • drm/i915: Proper dbuf global state
Related show


Ville Syrjälä Feb. 25, 2020, 5:11 p.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

More complete version of intel_dbuf_state. We finally get rid of
distrust_bios_wm and all the uglyness surrounding it. And we no
longer have to know ahead of time whether the duf allocation
might change or not, and thus don't need to pull in all crtcs
into the state up front. Now we just compute the new dbuf
state, and if it changes the affected crtcs get added to the
state naturally.

+ a bunch of cleanups.

Entire series available here:
git://github.com/vsyrjala/linux.git dbuf_state_2

Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>

Ville Syrjälä (20):
  drm/i915: Handle some leftover s/intel_crtc/crtc/
  drm/i915: Remove garbage WARNs
  drm/i915: Add missing commas to dbuf tables
  drm/i915: Use a sentinel to terminate the dbuf slice arrays
  drm/i915: Make skl_compute_dbuf_slices() behave consistently for all
  drm/i915: Polish some dbuf debugs
  drm/i915: Unify the low level dbuf code
  drm/i915: Introduce proper dbuf state
  drm/i915: Nuke skl_ddb_get_hw_state()
  drm/i915: Move the dbuf pre/post plane update
  drm/i915: Clean up dbuf debugs during .atomic_check()
  drm/i915: Extract intel_crtc_ddb_weight()
  drm/i915: Pass the crtc to skl_compute_dbuf_slices()
  drm/i915: Introduce intel_dbuf_slice_size()
  drm/i915: Introduce skl_ddb_entry_for_slices()
  drm/i915: Move pipe ddb entries into the dbuf state
  drm/i915: Extract intel_crtc_dbuf_weights()
  drm/i915: Encapsulate dbuf state handling harder
  drm/i915: Do a bit more initial readout for dbuf
  drm/i915: Check slice mask for holes

 drivers/gpu/drm/i915/display/intel_display.c  |  95 +--
 .../drm/i915/display/intel_display_debugfs.c  |   1 -
 .../drm/i915/display/intel_display_power.c    |  80 +-
 .../drm/i915/display/intel_display_power.h    |   6 +-
 .../drm/i915/display/intel_display_types.h    |  14 -
 drivers/gpu/drm/i915/i915_drv.h               |  16 +-
 drivers/gpu/drm/i915/intel_pm.c               | 741 ++++++++++--------
 drivers/gpu/drm/i915/intel_pm.h               |  31 +-
 8 files changed, 521 insertions(+), 463 deletions(-)