]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/i915: Remove useless eDP check from intel_ddi_pre_enable_dp()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 10 Oct 2017 12:12:04 +0000 (15:12 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Oct 2017 17:54:29 +0000 (20:54 +0300)
commit680b71c201fc47859135cf27223b9bceea34beec
tree26a2253882b06b13d7c4980fe76e07dc8df73300
parentf45f3da7c4f6220746944cb5d5851ec5817c1f4f
drm/i915: Remove useless eDP check from intel_ddi_pre_enable_dp()

intel_edp_panel_on() will itself do the is_edp() check, so the caller
doesn't have to bother. Pre-DDI code doesn't bother, so let's follow the
same approach for DDI.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171010121207.570-7-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_ddi.c