drm/qxl: Use the hotspot properties from cursor planes
authorZack Rusin <zackr@vmware.com>
Mon, 23 Oct 2023 07:46:08 +0000 (09:46 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Fri, 24 Nov 2023 10:57:59 +0000 (11:57 +0100)
commit305b391d8f84a46119b5554a7a7af775266ce382
tree996d25eea96b8a4944e797bce271f282832b1d3a
parentcd5499429237b7ba3f5bfd3efb488688886c82fe
drm/qxl: Use the hotspot properties from cursor planes

Atomic modesetting got support for mouse hotspots via the hotspot
properties. Port the legacy kms hotspot handling to the new properties
on cursor planes.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: virtualization@lists.linux-foundation.org
Cc: spice-devel@lists.freedesktop.org
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231023074613.41327-5-aesteve@redhat.com
drivers/gpu/drm/qxl/qxl_display.c