Separate display workarounds from clock gating
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/i915: Stop forcing clock gating init for future platformsdrivers/ | +3 | 3 replies | |
| 2/4 | drm/i915/adlp: Stop calling gen12lp_init_clock_gating()drivers/ | +0 | 1 reply | |
| 3/4 | drm/i915/display: Extract display workarounds from clock gating initdrivers/ drivers/ drivers/ +1 more | +64 | 2 replies | |
| 4/4 | drm/i915/display: Apply workarounds during display initdrivers/ drivers/ | +3 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Lucas De Marchi |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Intel-gfx] [PATCH 0/4] Separate display workarounds from clock gating
The clock gating init hooks in i915 are a bit jumbled. The current implementation includes a mix of GT workarounds (which really should have been in the GT workaround file instead), SoC/sgunit clock gating workarounds, and display workarounds (some of which are entirely unrelated to clock gating). Some of this confusion originates from really old platforms where the boundaries between GT/display/other IP blocks weren't as clear as they are today, but at least on modern platforms we should be able to do a better job of placing this programming now.
Let's separate the display workarounds for gen11 and newer platforms into a dedicated file and apply the workarounds during actual display initialization, rather than having them applied indirectly during GEM init. This will help keep the clock gating hooks focused on actual SoC/sgunit clock gating going forward and avoid making them a dumping ground for assorted register programming. It will also ensure that when i915's display code is built into the Xe driver these workarounds will still get applied during device probe rather than being missed as they are today.
Matt Roper (4):
drm/i915: Stop forcing clock gating init for future platforms drm/i915/adlp: Stop calling gen12lp_init_clock_gating() drm/i915/display: Extract display workarounds from clock gating init drm/i915/display: Apply workarounds during display init
drivers/gpu/drm/i915/Makefile | 1 + .../drm/i915/display/intel_display_driver.c | 2 + .../gpu/drm/i915/display/intel_display_wa.c | 47 ++++++++++++++++ .../gpu/drm/i915/display/intel_display_wa.h | 13 +++++ drivers/gpu/drm/i915/intel_clock_gating.c | 53 ++----------------- 5 files changed, 66 insertions(+), 50 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_display_wa.c create mode 100644 drivers/gpu/drm/i915/display/intel_display_wa.h
Signature · 1 line
2.41.0