drm/i915: Eliminate foo_state->state pointer usage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | drm/i915/ddi: Pass the atomic state to intel_ddi_port_sync_transcoders()drivers/ | +3 | 0 replies | |
| 2/9 | drm/i915/mst: Pass the full atomic state to intel_dp_mtp_tu_compute_config()drivers/ drivers/ drivers/ +1 more | +77 | 0 replies | |
| 3/9 | drm/i915/hdmi: Pass the full atomic state to intel_hdmi_bpc_possible()drivers/ drivers/ drivers/ +4 more | +71 | 0 replies | |
| 4/9 | drm/i915/fdi: Pass the full atomic state to ilk_check_fdi_lanes()drivers/ | +11 | 0 replies | |
| 5/9 | drm/i915/hdcp: Pass the full atomic state to intel_hdcp_atomic_check()drivers/ drivers/ drivers/ | +7 | 0 replies | |
| 6/9 | drm/i915/global_state: Pass the full atomic state into intel_atomic_{lock, serialize}_global_state()drivers/ drivers/ drivers/ +4 more | +41 | 0 replies | |
| 7/9 | drm/i915/global_state: Store the display in the global object and use itdrivers/ drivers/ drivers/ | +4 | 0 replies | |
| 8/9 | drm/i915/global_state: Remove the obj_state->state footgundrivers/ drivers/ | +0 | 0 replies | |
| 9/9 | drm/i915/sdvo: Add a FIXME about the connector_state->state footgundrivers/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] drm/i915: Eliminate foo_state->state pointer usage
From: Ville Syrjälä <[email protected]>
The foo_state->state pointer is dangerous. Stop using it as much as possible. I think we're down to one use after this, but eliminating that one requires drm subsystem wide changes.
Ville Syrjälä (9):
drm/i915/ddi: Pass the atomic state to
intel_ddi_port_sync_transcoders()
drm/i915/mst: Pass the full atomic state to
intel_dp_mtp_tu_compute_config()
drm/i915/hdmi: Pass the full atomic state to intel_hdmi_bpc_possible() drm/i915/fdi: Pass the full atomic state to ilk_check_fdi_lanes() drm/i915/hdcp: Pass the full atomic state to intel_hdcp_atomic_check() drm/i915/global_state: Pass the full atomic state into
intel_atomic_{lock,serialize}_global_state()
drm/i915/global_state: Store the display in the global object and use
it
drm/i915/global_state: Remove the obj_state->state footgun drm/i915/sdvo: Add a FIXME about the connector_state->state footgun
drivers/gpu/drm/i915/display/g4x_hdmi.c | 2 +- drivers/gpu/drm/i915/display/intel_atomic.c | 2 +- drivers/gpu/drm/i915/display/intel_bw.c | 25 ++-- drivers/gpu/drm/i915/display/intel_cdclk.c | 18 +-- drivers/gpu/drm/i915/display/intel_dbuf_bw.c | 2 +- drivers/gpu/drm/i915/display/intel_ddi.c | 9 +- drivers/gpu/drm/i915/display/intel_dp.c | 109 +++++++++++------- drivers/gpu/drm/i915/display/intel_dp.h | 6 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 63 +++++----- drivers/gpu/drm/i915/display/intel_dp_mst.h | 3 +- drivers/gpu/drm/i915/display/intel_fdi.c | 22 ++-- .../gpu/drm/i915/display/intel_global_state.c | 14 +-- .../gpu/drm/i915/display/intel_global_state.h | 8 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 6 +- drivers/gpu/drm/i915/display/intel_hdcp.h | 4 +- drivers/gpu/drm/i915/display/intel_hdmi.c | 56 +++++---- drivers/gpu/drm/i915/display/intel_hdmi.h | 7 +- drivers/gpu/drm/i915/display/intel_pmdemand.c | 4 +- drivers/gpu/drm/i915/display/intel_sdvo.c | 4 + drivers/gpu/drm/i915/display/skl_watermark.c | 16 +-- 20 files changed, 218 insertions(+), 162 deletions(-)
Signature · 1 line
2.56.1