]> git.baikalelectronics.ru Git - kernel.git/commit
qxl: read monitors config at boot
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 1 Mar 2017 10:12:33 +0000 (11:12 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 7 Mar 2017 06:09:16 +0000 (07:09 +0100)
commitb2bdf6c7b776affdc111c2ab2835298a41b5ff29
tree284d4309e251754099b16bd80b261f33d56cc050
parentb079f5a2f0d60b99b5da18bd7ff658192079ef96
qxl: read monitors config at boot

Try to read the client monitors config at driver load time, even without
explicit notification.  So in case that info was filled before the driver
loaded and we've missed the notifications because of that the settings
will still be used.

With that place we now have to take care to properly handle a empty client
monitors config, so we don't trip over an uninitialized client monitors
config.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1488363154-6889-4-git-send-email-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_display.c