drm/i915/display: Reduce global state funcs boilerplate
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/i915/display: Do not assume zero offset when duplicating global statedrivers/ drivers/ drivers/ +1 more | +8 | 3 replies | |
| 2/3 | drm/i915/display: Add infra to reduce global state funcs boilerplatedrivers/ drivers/ | +54 | 8 replies | |
| 3/3 | drm/i915/display: Use INTEL_GLOBAL_STATE_DEFAULTSdrivers/ drivers/ drivers/ +1 more | +10 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Jonathan Cavitt |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] drm/i915/display: Reduce global state funcs boilerplate
If we look at how the members of struct intel_global_state_funcs, we see a common pattern repeating itself. We can reduce such boilerplate by moving the common implementation to the generic global state code. This series proposes that.
Gustavo Sousa (3):
drm/i915/display: Do not assume zero offset when duplicating global
state
drm/i915/display: Add infra to reduce global state funcs boilerplate drm/i915/display: Use INTEL_GLOBAL_STATE_DEFAULTS
drivers/gpu/drm/i915/display/intel_bw.c | 21 +--------- drivers/gpu/drm/i915/display/intel_cdclk.c | 16 +++----- .../gpu/drm/i915/display/intel_global_state.c | 41 ++++++++++++++++++- .../gpu/drm/i915/display/intel_global_state.h | 15 +++++++ drivers/gpu/drm/i915/display/intel_pmdemand.c | 21 +--------- drivers/gpu/drm/i915/display/skl_watermark.c | 20 +-------- 6 files changed, 63 insertions(+), 71 deletions(-)
Signature · 1 line
2.47.1