drm/hyperv: Fix double mouse pointers
Hyper-V supports a hardware cursor feature. It is not used by Linux VM,
but the Hyper-V host still draws a point as an extra mouse pointer,
which is unwanted, especially when Xorg is running.
The hyperv_fb driver uses synthvid_send_ptr() to hide the unwanted pointer.
When the hyperv_drm driver was developed, the function synthvid_send_ptr()
was not copied from the hyperv_fb driver. Fix the issue by adding the
function into hyperv_drm.
Fixes: 76c56a5affeb ("drm/hyperv: Add DRM driver for hyperv synthetic video device")
Signed-off-by: Dexuan Cui <firstname.lastname@example.org>
Reviewed-by: Haiyang Zhang <email@example.com>
Reviewed-by: Deepak Rawat <firstname.lastname@example.org>
Signed-off-by: Thomas Zimmermann <email@example.com>
Signed-off-by: Dave Airlie <firstname.lastname@example.org>
3 files changed