drm/i915: switch intel_ddi_init() to intel types
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 6 Nov 2019 07:17:17 +0000 (23:17 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 7 Nov 2019 00:16:01 +0000 (16:16 -0800)
commit70dfbc29ab9b39b34b4713fb6bacc05d8109968b
tree97fea7d47b9bc5d14188caeefa29ae0873d0df2c
parent6cf6e590ea2e45db1fcf3ef006d5adbd7f7c06ab
drm/i915: switch intel_ddi_init() to intel types

Prefer using intel_encoder and pass the base where needed rather than
keeping both encoder and intel_encoder variables around.

v2: actually add all changes to the patch

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191106071715.10613-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c