]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: Pass the encoder type explicitly to skl_set_iboost()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Oct 2017 14:56:58 +0000 (17:56 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Oct 2017 12:34:42 +0000 (15:34 +0300)
commit081dfcfafcbb524b2916b0243c976228accaa4df
tree1f1f328086c8a4f9eb2ae531aa62b95b2d0f9b83
parent975786ee0e25253c4bcd3e6b133a2cd5f0a2c115
drm/i915: Pass the encoder type explicitly to skl_set_iboost()

encoder->type isn't reliable for DP/HDMI encoders, so pass the type
explicity to skl_set_iboost(). Also take the opportunity to streamline
the code.

v2: Clean up the argument types to skl_ddi_set_iboost() while at it

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171016145705.11780-4-ville.syrjala@linux.intel.com
Reviewed-by: James Ausmus <james.ausmus@intel.com>
drivers/gpu/drm/i915/intel_ddi.c