OSDN Git Service

drm/i915: Eliminate some encoder->crtc usage from TV code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 31 Oct 2017 20:51:17 +0000 (22:51 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Nov 2017 18:04:56 +0000 (20:04 +0200)
commita7f519ba706b3be9280c063e7e231da138c202de
tree719596a1d2205366364a07d7f727299438f45ab3
parent463320ae538bb02fd16ca9ff9ed39a0b35d920e2
drm/i915: Eliminate some encoder->crtc usage from TV code

Extract the current crtc from the crtc state rather than via
the legacy encoder->crtc pointer whenever possible.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171031205123.13123-5-ville.syrjala@linux.intel.com
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
drivers/gpu/drm/i915/intel_tv.c