]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: ELiminate intel_pipe_to_cpu_transcoder() from assert_fdi_tx()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Nov 2019 16:38:11 +0000 (18:38 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 11 Dec 2019 15:24:06 +0000 (17:24 +0200)
commitd1c4b8ba6020a0e5c2da574cfaa0fde4e02eccc0
tree5cb82ad61a0fbda9c841574fd354bf301525617c
parent7cabae35892005c24923e0ff7deaa30e1a6b35bd
drm/i915: ELiminate intel_pipe_to_cpu_transcoder() from assert_fdi_tx()

Let's start to eliminate intel_pipe_to_cpu_transcoder() so that
we can get rid of one more crtc->config usage (which we will want
to nuke as well).

In the case of assert_fdi_tx() we know that we're never
dealing with the EDP transcoder so we can simply replace
this with a cast.

v2: Fix poor English in comment

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191112163812.22075-3-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_display.c