drm/i915: Use the passed in encoder
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 4 Dec 2019 18:05:44 +0000 (20:05 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 13 Jan 2020 18:12:46 +0000 (20:12 +0200)
commit79003e61b1fbfd3b76c4c8d288ddce4eaef32800
tree3d2972ebd40d56262877767e5f6c0437298804f2
parentb7d02c3a124d9be9cdd4982505d1ac00de4c70f2
drm/i915: Use the passed in encoder

Just use the passed in encoder instead of digging it out via
the legacy drm_connector->encoder pointer (which we'll want to
stop using).

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191204180549.1267-5-ville.syrjala@linux.intel.com
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
drivers/gpu/drm/i915/display/intel_audio.c