drm/i915: Move iCLKIP readout to the pch code
Move the lpt_get_iclkip() call from hsw_crt_get_config() since that's where we have the lpt_program_iclkip() call as well. Tehcnically this isn't perhaps quite right since iCLKIP is providing the CRT dotclock. So one can argue all of it should be directly in intel_crt.c. But since the CRT port is the only one on the PCH sticking it all into the PCH code seems OK. Cc: Dave Airlie <airlied@redhat.com> Cc: Jani Nikula <jani.nikula@intel.com> Signed-off-by:Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211015071625.593-7-ville.syrjala@linux.intel.com Reviewed-by:
Dave Airlie <airlied@redhat.com>
Showing
- drivers/gpu/drm/i915/display/intel_crt.c 0 additions, 4 deletionsdrivers/gpu/drm/i915/display/intel_crt.c
- drivers/gpu/drm/i915/display/intel_ddi.c 4 additions, 3 deletionsdrivers/gpu/drm/i915/display/intel_ddi.c
- drivers/gpu/drm/i915/display/intel_pch_display.c 2 additions, 0 deletionsdrivers/gpu/drm/i915/display/intel_pch_display.c
Loading