linux/drivers/gpu/drm/qxl
Gerd Hoffmann 2d856f94e6 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
2017-03-07 07:09:17 +01:00
..
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile
qxl_cmd.c qxl: Mark some internal functions as static 2016-11-15 09:45:31 +01:00
qxl_debugfs.c drm/qxl: Remove qxl_debugfs_takedown() 2017-03-01 16:09:52 +01:00
qxl_dev.h
qxl_display.c qxl: fix qxl_conn_get_modes 2017-03-07 07:09:17 +01:00
qxl_draw.c drm: Nuke fb->bits_per_pixel 2016-12-15 14:55:34 +02:00
qxl_drv.c drm/qxl: Remove qxl_debugfs_takedown() 2017-03-01 16:09:52 +01:00
qxl_drv.h qxl: drop mode_info.modes & related code. 2017-03-07 07:09:13 +01:00
qxl_dumb.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
qxl_fb.c drm: qxl: Don't alloc fbdev if emulation is not supported 2017-03-07 07:09:12 +01:00
qxl_gem.c qxl: Remove qxl_bo_init() return value 2016-11-15 09:45:32 +01:00
qxl_image.c
qxl_ioctl.c drm: qxl: Embed drm_device into driver structure 2017-02-02 10:02:37 +01:00
qxl_irq.c drm: qxl: Embed drm_device into driver structure 2017-02-02 10:02:37 +01:00
qxl_kms.c qxl: drop mode_info.modes & related code. 2017-03-07 07:09:13 +01:00
qxl_object.c drm: qxl: Consolidate bo reservation when pinning 2017-02-28 17:26:08 +01:00
qxl_object.h drm: qxl: Drop duplicated device pointer attribute 2017-02-02 10:02:34 +01:00
qxl_prime.c drm/qxl: fix erroneous return value 2016-02-17 15:39:35 +10:00
qxl_release.c drm/qxl: fix use of uninitialized variable 2016-12-05 13:14:13 -05:00
qxl_ttm.c drm: qxl: Embed drm_device into driver structure 2017-02-02 10:02:37 +01:00