diff options
author | Imre Deak <imre.deak@intel.com> | 2023-09-21 22:51:59 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2023-09-28 12:52:28 +0300 |
commit | f67ff36f2117ff789876abb2e48f42e086475095 (patch) | |
tree | 3dd0aadc0a5429a0de94bcfe68dd5679fe6bcb30 /drivers/gpu/drm/i915/display/intel_frontbuffer.c | |
parent | 998d2cd361caeb59d7d9574617f1f5d25ae73788 (diff) |
drm/i915/fdi: Recompute state for affected CRTCs on FDI links
Recompute the state of all CRTCs on an FDI link during a modeset that
may be affected by the modeset of other CRTCs on the same link. This
ensures that each CRTC on the link maximizes its BW use (after another
CRTC is disabled).
In practice this means recomputing pipe B's config on IVB if pipe C gets
disabled.
v2:
- Add the change recomputing affected CRTC states in a separate patch.
(Ville)
v3: (Ville)
- Constify old and new crtc states.
- Check for fused off pipe C.
- Fix new vs. old crtc state mixup.
- Drop check for pipe C's enabled state.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230921195159.2646027-12-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_frontbuffer.c')
0 files changed, 0 insertions, 0 deletions