RFC drm/i915: pass encoder around more for port/phy checks
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/hdmi: convert *_port_to_ddc_pin() to *_encoder_to_ddc_pin()drivers/ | +37 | 0 replies | |
| 2/7 | drm/i915/ddi: pass encoder to intel_wait_ddi_buf_active()drivers/ | +6 | 0 replies | |
| 3/7 | drm/i915/snps: pass encoder to intel_snps_phy_update_psr_power_state()drivers/ drivers/ drivers/ | +8 | 0 replies | |
| 4/7 | drm/i915/display: add intel_encoder_is_*() and _to_*() functionsdrivers/ drivers/ drivers/ +1 more | +57 | 0 replies | |
| 5/7 | drm/i915/display: use intel_encoder_is/to_* functionsdrivers/ drivers/ drivers/ +7 more | +110 | 0 replies | |
| 6/7 | drm/i915/cx0: remove intel_is_c10phy()drivers/ drivers/ | +4 | 0 replies | |
| 7/7 | drm/i915/cx0: pass encoder instead of i915 and port arounddrivers/ | +136 | 0 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ville Syrjälä |
|---|---|
| Series | R-b |
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC 0/7] drm/i915: pass encoder around more for port/phy checks
Based on my ideas at [1], pass the encoder around more instead of i915, port pair. Look up phy and TC port based on encoder.
This could be later extended to e.g. cache the info to encoder and/or look up data from encoder->devdata.
I know relying solely on encoder has its drawbacks, namely not being able to do stuff unless you have that encoder for that specific port/phy. And have a reference to it.
Thoughts?
BR,
Jani.
[1] https://lore.kernel.org/r/[email protected]
Jani Nikula (7):
drm/hdmi: convert *_port_to_ddc_pin() to *_encoder_to_ddc_pin() drm/i915/ddi: pass encoder to intel_wait_ddi_buf_active() drm/i915/snps: pass encoder to intel_snps_phy_update_psr_power_state() drm/i915/display: add intel_encoder_is_*() and _to_*() functions drm/i915/display: use intel_encoder_is/to_* functions drm/i915/cx0: remove intel_is_c10phy()
drm/i915/cx0: pass encoder instead of i915 and port around
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 299 +++++++++--------- drivers/gpu/drm/i915/display/intel_cx0_phy.h | 3 +- drivers/gpu/drm/i915/display/intel_ddi.c | 127 ++++---- .../drm/i915/display/intel_ddi_buf_trans.c | 14 +- drivers/gpu/drm/i915/display/intel_display.c | 40 +++ drivers/gpu/drm/i915/display/intel_display.h | 7 + .../i915/display/intel_display_power_well.c | 2 +- drivers/gpu/drm/i915/display/intel_dp.c | 15 +- drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 22 +- drivers/gpu/drm/i915/display/intel_hdmi.c | 80 ++--- drivers/gpu/drm/i915/display/intel_pmdemand.c | 14 +- drivers/gpu/drm/i915/display/intel_psr.c | 7 +- drivers/gpu/drm/i915/display/intel_snps_phy.c | 16 +- drivers/gpu/drm/i915/display/intel_snps_phy.h | 4 +- drivers/gpu/drm/i915/display/intel_tc.c | 33 +- 15 files changed, 339 insertions(+), 344 deletions(-)
Signature · 1 line
2.39.2