diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-03-01 11:12:34 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-03-07 07:09:17 +0100 |
commit | 2d856f94e6d253225cc68beaaf942dc0ea7772cb (patch) | |
tree | bbf74e0ef87f8cac4fee04be3d1100e797d37603 /drivers/gpu/drm/virtio | |
parent | c50fad8f62d1a6fe0083fa2c700e5e7bfc7dea0c (diff) | |
download | linux-2d856f94e6d253225cc68beaaf942dc0ea7772cb.tar.gz |
qxl: fix qxl_conn_get_modes
Call qxl_add_monitors_config_modes() unconditionally. Do all sanity
checks in that function.
Fix sanity checks. monitors_config is the current monitor
configuration, whereas client_monitors_config is the configuration
requested by the spice client. So when filling the mode list, based on
the spice client request, we need to look at
client_monitors_config->count not monitors_config->count.
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-5-git-send-email-kraxel@redhat.com
Diffstat (limited to 'drivers/gpu/drm/virtio')
0 files changed, 0 insertions, 0 deletions