summaryrefslogtreecommitdiff
path: root/vmwgfx_drv.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2017-12-11 11:12:12 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2017-12-22 13:21:53 +0100
commit8213d56c59972da5296d4f10df12da556aa2eb57 (patch)
tree685d11f7981bb09afe7638e6eaa5ce4bcae1eb74 /vmwgfx_drv.c
parente46db665a4a3212c477b5c982f70f6ae71d14e47 (diff)
vmwgfx: Replace the backend treatment of legacy hotspots
Assuming now that cursor hotspots are always present in the plane state, we don't need to add in the legacy hotspots in the backend code anymore. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'vmwgfx_drv.c')
-rw-r--r--vmwgfx_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vmwgfx_drv.c b/vmwgfx_drv.c
index f2c5456..4cf3eb7 100644
--- a/vmwgfx_drv.c
+++ b/vmwgfx_drv.c
@@ -1574,6 +1574,8 @@ static struct drm_driver driver = {
.prime_fd_to_handle = vmw_prime_fd_to_handle,
.prime_handle_to_fd = vmw_prime_handle_to_fd,
+ .legacy_hotspot = vmw_kms_legacy_hotspot,
+
.fops = &vmwgfx_driver_fops,
.name = VMWGFX_DRIVER_NAME,
.desc = VMWGFX_DRIVER_DESC,