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)
committerDave Airlie <airlied@redhat.com>
Wed, 23 Sep 2015 22:08:17 +0000 (08:08 +1000)
commit69e5d3f893e19613486f300fd6e631810338aa4b
tree66e3e5d668b589c4ddd24f4888f9d7a256e04ee3
parent1f93e4a96c9109378204c147b3eec0d0e8100fde
drm/qxl: only report first monitor as connected if we have no state

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

Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_display.c