drm/i915: Feed the DPLL output freq back into crtc_state
Fill port_clock and hw.adjusted_mode.crtc_clock with the actual frequency we're going to be getting from the hardware. This will let us accurately compute all derived state that depends on those. v2: Reintroduce iCLKIP WARN v3: Try to deal with VLV/BXT DSI PLL as well Reviewed-by: Jani Nikula <jani.nikula@intel.com> #v1 Signed-off-by:Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220907091057.11572-8-ville.syrjala@linux.intel.com
Showing
- drivers/gpu/drm/i915/display/intel_crt.c 3 additions, 0 deletionsdrivers/gpu/drm/i915/display/intel_crt.c
- drivers/gpu/drm/i915/display/intel_dpll.c 57 additions, 3 deletionsdrivers/gpu/drm/i915/display/intel_dpll.c
- drivers/gpu/drm/i915/display/intel_dpll_mgr.c 23 additions, 1 deletiondrivers/gpu/drm/i915/display/intel_dpll_mgr.c
- drivers/gpu/drm/i915/display/intel_pch_refclk.c 10 additions, 0 deletionsdrivers/gpu/drm/i915/display/intel_pch_refclk.c
- drivers/gpu/drm/i915/display/intel_pch_refclk.h 1 addition, 0 deletionsdrivers/gpu/drm/i915/display/intel_pch_refclk.h
- drivers/gpu/drm/i915/display/vlv_dsi.c 5 additions, 6 deletionsdrivers/gpu/drm/i915/display/vlv_dsi.c
- drivers/gpu/drm/i915/display/vlv_dsi_pll.c 18 additions, 2 deletionsdrivers/gpu/drm/i915/display/vlv_dsi_pll.c
Loading
Please register or sign in to comment