diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-05-03 13:36:59 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-09-13 16:55:11 +0200 |
commit | 3072a24c778a7102d70692af5556e47363114c67 (patch) | |
tree | d1ef726cac94c3e99089852cd6c9f042ea86f82e /drivers/gpu/drm/i915/display/intel_crt.c | |
parent | drm/i915: Reduce combo PHY log spam (diff) | |
download | linux-3072a24c778a7102d70692af5556e47363114c67.tar.xz linux-3072a24c778a7102d70692af5556e47363114c67.zip |
drm/i915: Introduce crtc_state->enhanced_framing
Track DP enhanced framing properly in the crtc state instead
of relying just on the cached DPCD everywhere, and hook it
up into the state check and dump.
v2: Actually set enhanced_framing in .compute_config()
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230503113659.16305-1-ville.syrjala@linux.intel.com
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_crt.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_crt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_crt.c b/drivers/gpu/drm/i915/display/intel_crt.c index 310670bb6c25..f6df6c4fa72e 100644 --- a/drivers/gpu/drm/i915/display/intel_crt.c +++ b/drivers/gpu/drm/i915/display/intel_crt.c @@ -451,6 +451,8 @@ static int hsw_crt_compute_config(struct intel_encoder *encoder, /* FDI must always be 2.7 GHz */ pipe_config->port_clock = 135000 * 2; + pipe_config->enhanced_framing = true; + adjusted_mode->crtc_clock = lpt_iclkip(pipe_config); return 0; |