]> 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)
commit831dde8d58e66a17d9b00f3827e2ca9384d73340
tree284d4309e251754099b16bd80b261f33d56cc050
parent7daf42f8223b862dbc890106a5d263f592e87382
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