Skip to content

drm/i915: Proper dbuf global state

Ville Syrjala intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest20 patches 29 repliesIn review
  2. v16 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20drm/i915: Handle some leftover s/intel_crtc/crtc/drivers/gpu/drm/i915/intel_pm.c+11 -121 reply
2/20drm/i915: Remove garbage WARNsdrivers/gpu/drm/i915/intel_pm.c+0 -111 reply
3/20drm/i915: Add missing commas to dbuf tablesdrivers/gpu/drm/i915/intel_pm.c+44 -441 reply
4/20drm/i915: Use a sentinel to terminate the dbuf slice arraysdrivers/gpu/drm/i915/intel_pm.c+13 -211 reply
5/20drm/i915: Make skl_compute_dbuf_slices() behave consistently for all platformsdrivers/gpu/drm/i915/intel_pm.c+1 -14 replies
6/20drm/i915: Polish some dbuf debugsdrivers/gpu/drm/i915/display/intel_display_power.c+19 -215 replies
7/20drm/i915: Unify the low level dbuf codedrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display_power.c drivers/gpu/drm/i915/display/intel_display_power.h+24 -327 replies
8/20drm/i915: Introduce proper dbuf statedrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display_power.c drivers/gpu/drm/i915/display/intel_display_types.h +3 more+209 -1012 replies
9/20drm/i915: Nuke skl_ddb_get_hw_state()drivers/gpu/drm/i915/intel_pm.c drivers/gpu/drm/i915/intel_pm.h+0 -81 reply
10/20drm/i915: Move the dbuf pre/post plane updatedrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/intel_pm.c drivers/gpu/drm/i915/intel_pm.h+41 -391 reply
11/20drm/i915: Clean up dbuf debugs during .atomic_check()drivers/gpu/drm/i915/intel_pm.c+19 -71 reply
12/20drm/i915: Extract intel_crtc_ddb_weight()drivers/gpu/drm/i915/intel_pm.c+28 -180 replies
13/20drm/i915: Pass the crtc to skl_compute_dbuf_slices()drivers/gpu/drm/i915/intel_pm.c+10 -121 reply
14/20drm/i915: Introduce intel_dbuf_slice_size()drivers/gpu/drm/i915/intel_pm.c+20 -140 replies
15/20drm/i915: Introduce skl_ddb_entry_for_slices()drivers/gpu/drm/i915/intel_pm.c+18 -380 replies
16/20drm/i915: Move pipe ddb entries into the dbuf statedrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/intel_pm.c +1 more+27 -220 replies
16/20drm/i915: Move pipe ddb entries into the dbuf statedrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/intel_pm.c +1 more+27 -220 replies
17/20drm/i915: Extract intel_crtc_dbuf_weights()drivers/gpu/drm/i915/intel_pm.c+89 -560 replies
18/20drm/i915: Encapsulate dbuf state handling harderdrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display_debugfs.c drivers/gpu/drm/i915/i915_drv.h +2 more+138 -2451 reply
19/20drm/i915: Do a bit more initial readout for dbufdrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/intel_pm.c+46 -61 reply
20/20drm/i915: Check slice mask for holesdrivers/gpu/drm/i915/intel_pm.c+9 -01 reply

Reviews trailers per patch

14 of 21 patches have a Reviewed-by or Acked-by.

PatchStanislav LisovskiyJani Nikula
1/20R-b
2/20R-b
3/20R-b
4/20R-b
5/20R-b
6/20R-b
7/20R-b
8/20R-b
9/20R-b
10/20R-b
11/20R-b
12/20
13/20R-b
14/20
15/20
16/20
16/20
17/20
18/20R-b
19/20R-b
20/20

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

Read the v2 thread

Cover letter [Intel-gfx] [PATCH v2 00/20] drm/i915: Proper dbuf global state

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

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 <[email protected]>

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
platforms
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(-)
Signature · 6 lines
2.24.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx