alistair23-linux/drivers/gpu/drm/qxl
David Mansfield 52571ad5f4 drm/qxl: use surface_id 0 for primary surface on all monitors
spice-server and downstream code expect that the primary surface
will always have surface_id = 0, while in reality, once allocated, the
surface_id in qxl.ko is NEVER 0.  In a dual head environment, all
monitors render portions of the primary surface.

However, when the monitor config events are generated and sent,
the primary surface is only mapped to the correct identifier
(i.e. 0) for the primary head (where crtc index is 0).

The fix is to look at the "primary" flag in the bo and always
use id 0, irrespective of which head is being configured.

[airlied: qxl hw really needs to be fixed to scanout surfaces]

Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-06-04 12:13:22 +10:00
..
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2014-01-22 21:21:55 -08:00
Makefile
qxl_cmd.c
qxl_debugfs.c
qxl_dev.h
qxl_display.c drm/qxl: use surface_id 0 for primary surface on all monitors 2014-06-04 12:13:22 +10:00
qxl_draw.c
qxl_drv.c drm/<drivers>: don't set driver->dev_priv_size to 0 2014-04-23 10:32:54 +02:00
qxl_drv.h drm: Kill DRM_IRQ_ARGS 2013-12-18 11:33:46 +10:00
qxl_dumb.c
qxl_fb.c qxl: avoid an oops in the deferred io code. 2013-11-04 16:48:43 +10:00
qxl_fence.c
qxl_gem.c
qxl_image.c
qxl_ioctl.c drm: Kill DRM_COPY_(TO|FROM)_USER 2013-12-18 11:35:01 +10:00
qxl_irq.c drm: pass the irq explicitly to drm_irq_install 2014-04-23 10:32:50 +02:00
qxl_kms.c drivers: gpu: Mark function as static in qxl_kms.c 2014-01-14 12:59:25 +10:00
qxl_object.c drm: init TTM dev_mapping in ttm_bo_device_init() 2014-03-16 12:23:42 +01:00
qxl_object.h
qxl_release.c drm/ttm: Hide the implementation details of reservation 2014-04-04 08:00:59 +02:00
qxl_ttm.c drm: qxl: Remove unused device pointer 2014-05-01 09:30:34 +10:00