]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: fix DP get_hw_state return value
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 2 Apr 2013 17:03:56 +0000 (10:03 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 2 Apr 2013 18:25:39 +0000 (20:25 +0200)
commitdeb18211a110c102d32b3e9ed866bd7d25e0f8d5
treea606ff1250cd4dddd94efc9da7f23b0702644ba3
parent74cfd7ac5e1119ec3275d769ed9e27bcd97cf896
drm/i915: fix DP get_hw_state return value

If we couldn't find a pipe we shouldn't return true.  This might be even
better as a WARN though, since it should be impossible to have the port
enabled without a pipe selected.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c