linux_dsm_epyc7002/drivers/gpu/drm/qxl
Ray Strode 9428088c90 drm/qxl: reapply cursor after resetting primary
QXL associates mouse state with its primary plane.

Destroying a primary plane and putting a new one in place has the side
effect of destroying the cursor as well.

This commit changes the driver to reapply the cursor any time a new
primary is created. It achieves this by keeping a reference to the
cursor bo on the qxl_crtc struct.

This fix is very similar to

commit 4532b241a4 ("drm/qxl: reapply cursor after SetCrtc calls")

which got implicitly reverted as part of implementing the atomic
modeset feature.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1512097
Fixes: 1277eed5fe ("drm: qxl: Atomic phase 1: convert cursor to universal plane")
Cc: stable@vger.kernel.org
Signed-off-by: Ray Strode <rstrode@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2017-12-08 13:37:02 +10:00
..
Kconfig
Makefile
qxl_cmd.c qxl: alloc & use shadow for dumb buffers 2017-10-23 08:23:11 +02:00
qxl_debugfs.c
qxl_dev.h
qxl_display.c drm/qxl: reapply cursor after resetting primary 2017-12-08 13:37:02 +10:00
qxl_draw.c
qxl_drv.c
qxl_drv.h drm/qxl: reapply cursor after resetting primary 2017-12-08 13:37:02 +10:00
qxl_dumb.c qxl: alloc & use shadow for dumb buffers 2017-10-23 08:23:11 +02:00
qxl_fb.c
qxl_gem.c
qxl_image.c
qxl_ioctl.c drm/ttm: add operation ctx to ttm_bo_validate v2 2017-12-06 12:48:01 -05:00
qxl_irq.c
qxl_kms.c
qxl_object.c drm/ttm: add operation ctx to ttm_bo_validate v2 2017-12-06 12:48:01 -05:00
qxl_object.h
qxl_prime.c
qxl_release.c drm/ttm: add operation ctx to ttm_bo_validate v2 2017-12-06 12:48:01 -05:00
qxl_ttm.c drm/ttm: add context to driver move callback as well 2017-12-06 12:48:03 -05:00