drm/vboxvideo: Use the hotspot properties from cursor planes
authorZack Rusin <zackr@vmware.com>
Mon, 23 Oct 2023 07:46:09 +0000 (09:46 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Fri, 24 Nov 2023 10:58:00 +0000 (11:58 +0100)
commit44d877a1de912fa24d1af8f76433a914e6816057
tree69949abd2e26b4933702be83f108e676270c9db6
parent305b391d8f84a46119b5554a7a7af775266ce382
drm/vboxvideo: 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>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
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-6-aesteve@redhat.com
drivers/gpu/drm/vboxvideo/vbox_mode.c