All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 00/13] drm/i915: Clean up the plane data_rate stuff
@ 2020-11-19 18:53 Ville Syrjala
  2020-11-19 18:53 ` [Intel-gfx] [PATCH 01/13] drm/i915: Drop pointless total_data_rate argument Ville Syrjala
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Ville Syrjala @ 2020-11-19 18:53 UTC (permalink / raw)
  To: intel-gfx

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Let's sort out the plane data_rate stuff properly by
accounting each color plane independently. And we reuse the same
code and approach for the relative data rate (which is used for
plane ddb allocation).

Currently it's not even obvious if the relative data rate is
really correct in all the cases. The normal data rate stuff
is much more obvious with the way it's getting computed ahead
of time. Also reusing the same code for both means we at least
have just the one set of bugs to fix.

I was also pondering potentially replacing the relative data
rate entirely with the real data rate, but it's not obvious
what effect that would have to the watermarks. Smaller
planes would certainly get a bigger proportion of ddb allocated
to them, which might result in worse power consumption I guess.
But at least with data_rate and rel_data_rate being handled 
almost identically we could easily change the strategy at
any time.

Ville Syrjälä (13):
  drm/i915: Drop pointless total_data_rate argument
  drm/i915: Drop pointless dev_priv argument
  drm/i915: Extract skl_ddb_entry_init()
  drm/i915: Introduce skl_plane_ddb_iter
  drm/i915: Extract skl_allocate_plane_ddb()
  drm/i915: Extract skl_crtc_calc_dbuf_bw()
  drm/i915: Tweak plane ddb allocation tracking
  drm/i915: Split plane data_rate into data_rate+data_rate_y
  drm/i915: Extract intel_adjusted_rate()
  drm/i915: Reuse intel_adjusted_rate() for pfit pixel rate adjustment
  drm/i915: Pre-calculate plane relative data rate
  drm/i915: Remove total[] and uv_total[] from ddb allocation
  drm/i915: s/plane_res_b/blocks/ etc.

 .../gpu/drm/i915/display/intel_atomic_plane.c | 122 ++--
 .../gpu/drm/i915/display/intel_atomic_plane.h |   8 +-
 drivers/gpu/drm/i915/display/intel_bw.c       |  81 +--
 drivers/gpu/drm/i915/display/intel_display.c  |  93 ++-
 .../drm/i915/display/intel_display_debugfs.c  |   4 +-
 .../drm/i915/display/intel_display_types.h    |  22 +-
 drivers/gpu/drm/i915/intel_pm.c               | 629 +++++++-----------
 7 files changed, 421 insertions(+), 538 deletions(-)

-- 
2.26.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-11-19 21:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 18:53 [Intel-gfx] [PATCH 00/13] drm/i915: Clean up the plane data_rate stuff Ville Syrjala
2020-11-19 18:53 ` [Intel-gfx] [PATCH 01/13] drm/i915: Drop pointless total_data_rate argument Ville Syrjala
2020-11-19 18:53 ` [Intel-gfx] [PATCH 02/13] drm/i915: Drop pointless dev_priv argument Ville Syrjala
2020-11-19 18:53 ` [Intel-gfx] [PATCH 03/13] drm/i915: Extract skl_ddb_entry_init() Ville Syrjala
2020-11-19 18:53 ` [Intel-gfx] [PATCH 04/13] drm/i915: Introduce skl_plane_ddb_iter Ville Syrjala
2020-11-19 18:53 ` [Intel-gfx] [PATCH 05/13] drm/i915: Extract skl_allocate_plane_ddb() Ville Syrjala
2020-11-19 18:53 ` [Intel-gfx] [PATCH 06/13] drm/i915: Extract skl_crtc_calc_dbuf_bw() Ville Syrjala
2020-11-19 18:53 ` [Intel-gfx] [PATCH 07/13] drm/i915: Tweak plane ddb allocation tracking Ville Syrjala
2020-11-19 18:53 ` [Intel-gfx] [PATCH 08/13] drm/i915: Split plane data_rate into data_rate+data_rate_y Ville Syrjala
2020-11-19 18:53 ` [Intel-gfx] [PATCH 09/13] drm/i915: Extract intel_adjusted_rate() Ville Syrjala
2020-11-19 18:53 ` [Intel-gfx] [PATCH 10/13] drm/i915: Reuse intel_adjusted_rate() for pfit pixel rate adjustment Ville Syrjala
2020-11-19 18:53 ` [Intel-gfx] [PATCH 11/13] drm/i915: Pre-calculate plane relative data rate Ville Syrjala
2020-11-19 18:54 ` [Intel-gfx] [PATCH 12/13] drm/i915: Remove total[] and uv_total[] from ddb allocation Ville Syrjala
2020-11-19 18:54 ` [Intel-gfx] [PATCH 13/13] drm/i915: s/plane_res_b/blocks/ etc Ville Syrjala
2020-11-19 19:08 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Clean up the plane data_rate stuff Patchwork
2020-11-19 19:37 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2020-11-19 21:41 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.