]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/qxl: only report first monitor as connected if we have no state
authorDave Airlie <airlied@redhat.com>
Mon, 14 Sep 2015 00:28:34 +0000 (10:28 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Oct 2015 21:49:25 +0000 (14:49 -0700)
commit69ae8f5e482e2c8e1b283f8296bcdbe1179bda8f
tree8f8a340d4050ca7b599434d80c08c93f5636c305
parent357223fe135f0d4ba34d041ea9e8a5340054eed4
drm/qxl: only report first monitor as connected if we have no state

commit 69e5d3f893e19613486f300fd6e631810338aa4b upstream.

If the server isn't new enough to give us state, report the first
monitor as always connected, otherwise believe the server side.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/qxl/qxl_display.c