diff options
author | 2017-03-01 11:12:34 +0100 | |
---|---|---|
committer | 2017-03-07 07:09:17 +0100 | |
commit | 2d856f94e6d253225cc68beaaf942dc0ea7772cb (patch) | |
tree | bbf74e0ef87f8cac4fee04be3d1100e797d37603 /drivers/gpu/drm/msm/msm_perf.c | |
parent | qxl: read monitors config at boot (diff) | |
download | linux-dev-2d856f94e6d253225cc68beaaf942dc0ea7772cb.tar.xz linux-dev-2d856f94e6d253225cc68beaaf942dc0ea7772cb.zip |
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/msm/msm_perf.c')
0 files changed, 0 insertions, 0 deletions