]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only complain about n_edp_entries with eDP ports
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Jan 2016 15:28:16 +0000 (17:28 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Jan 2016 16:53:12 +0000 (18:53 +0200)
commit133382c46d08c79b104a6a4f2b83f75f3405fa94
tree308925301ef54f961069f38e1cdb7a3574f381f0
parent76253b1aeef8aa7aa551ab97783aa17e4b0fffcf
drm/i915: Only complain about n_edp_entries with eDP ports

commit 2c177df9198d ("drm/i915: Reject >9 ddi translation entried if port != A/E on SKL")
added sanity checks to make sure we don't end up with too many ddi translation
values for eDP ports, but it actually failed to check if the port is eDP.
We still look up the edp translations for non-eDP ports, but don't use
them, so we shouldn't be complaining about them either.

Fixes: 2c177df9198d ("drm/i915: Reject >9 ddi translation entried if port != A/E on SKL")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1452612496-9201-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c