summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_lspcon.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2020-09-24 21:41:55 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2020-10-16 19:44:45 +0300
commitebde5f89b32a258f15a2d094b02b6de0bbdf5beb (patch)
treec78e8d6d419cd5ef5fd19bb4d211e45b4910b08e /drivers/gpu/drm/i915/display/intel_lspcon.h
parent06fa32846884fa059f87b666dedeb12f900a31c0 (diff)
downloadlinux-ebde5f89b32a258f15a2d094b02b6de0bbdf5beb.tar.gz
linux-ebde5f89b32a258f15a2d094b02b6de0bbdf5beb.tar.bz2
linux-ebde5f89b32a258f15a2d094b02b6de0bbdf5beb.zip
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>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_lspcon.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_lspcon.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_lspcon.h b/drivers/gpu/drm/i915/display/intel_lspcon.h
index 0851ea30831a..b03dcb7076d8 100644
--- a/drivers/gpu/drm/i915/display/intel_lspcon.h
+++ b/drivers/gpu/drm/i915/display/intel_lspcon.h
@@ -31,7 +31,5 @@ void lspcon_set_infoframes(struct intel_encoder *encoder,
const struct drm_connector_state *conn_state);
u32 lspcon_infoframes_enabled(struct intel_encoder *encoder,
const struct intel_crtc_state *pipe_config);
-void lspcon_ycbcr420_config(struct drm_connector *connector,
- struct intel_crtc_state *crtc_state);
#endif /* __INTEL_LSPCON_H__ */