linux-sg2042/drivers/gpu/drm/qxl
John Keeping d59a1f71ff drm/qxl: fix cursor position with non-zero hotspot
The SPICE protocol considers the position of a cursor to be the location
of its active pixel on the display, so the cursor is drawn with its
top-left corner at "(x - hot_spot_x, y - hot_spot_y)" but the DRM cursor
position gives the location where the top-left corner should be drawn,
with the hotspot being a hint for drivers that need it.

This fixes the location of the window resize cursors when using Fluxbox
with the QXL DRM driver and both the QXL and modesetting X drivers.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@vger.kernel.org
Link: http://patchwork.freedesktop.org/patch/msgid/1447845445-2116-1-git-send-email-john@metanate.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2016-03-31 11:09:33 +03: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 drm/qxl: enables gem prime helpers for qxl using dummy driver callbacks 2014-09-03 15:36:52 +10:00
qxl_cmd.c drm/qxl: Remove format string errors 2015-06-05 11:00:51 +10:00
qxl_debugfs.c drm/qxl: Remove release_lock stupidity 2014-09-03 17:09:11 +02:00
qxl_dev.h
qxl_display.c drm/qxl: fix cursor position with non-zero hotspot 2016-03-31 11:09:33 +03:00
qxl_draw.c
qxl_drv.c drm/irq: Use unsigned int pipe in public API 2015-10-06 12:57:47 +02:00
qxl_drv.h drm/qxl: fix cursor position with non-zero hotspot 2016-03-31 11:09:33 +03:00
qxl_dumb.c
qxl_fb.c drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create() 2015-11-24 11:47:38 +01:00
qxl_gem.c drm/qxl: Move main reference counter to GEM object instead of TTM ones 2015-06-05 11:00:51 +10:00
qxl_image.c
qxl_ioctl.c drm/qxl: use kmalloc_array to alloc reloc_info in qxl_process_single_command 2016-02-17 14:16:06 +10:00
qxl_irq.c drm/qxl: return IRQ_NONE if it was not our irq 2014-07-17 08:08:06 +10:00
qxl_kms.c drm/qxl: simple crtc page flipping emulated using buffer copy 2014-09-03 15:35:27 +10:00
qxl_object.c drm/qxl: use to_qxl_bo macro 2015-12-15 13:39:40 +01:00
qxl_object.h drm/ttm: flip the switch, and convert to dma_fence 2014-09-02 16:41:50 +02:00
qxl_prime.c drm/qxl: fix erroneous return value 2016-02-17 15:39:35 +10:00
qxl_release.c drm/qxl: avoid dependency lock 2015-10-07 15:33:45 +10:00
qxl_ttm.c drm/qxl: use to_qxl_bo macro 2015-12-15 13:39:40 +01:00