drm/i915: Nuke lspcon_ycbcr420_config()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 24 Sep 2020 18:41:55 +0000 (21:41 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 16 Oct 2020 16:44:45 +0000 (19:44 +0300)
commitebde5f89b32a258f15a2d094b02b6de0bbdf5beb
treec78e8d6d419cd5ef5fd19bb4d211e45b4910b08e
parent06fa32846884fa059f87b666dedeb12f900a31c0
drm/i915: Nuke lspcon_ycbcr420_config()

Remove the lspcon special case from intel_dp_compute_config() and
just treat it like any other DFP than can do 4:4:4->4:2:0 conversion.

The only difference between the two codepaths was that the lspcon
code tried to already halve port_clock. That was just total nonsense
as we hadn't even computed the base port_clock at that time.
All that stuff happens intel_dp_compute_link_config*() and it
already takes care of the 4:2:0 clock reduction.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200924184156.24491-2-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_lspcon.c
drivers/gpu/drm/i915/display/intel_lspcon.h