Thread (3 messages) 3 messages, 2 authors, 2021-10-07

Re: [PATCH v2] drm/hyperv: Fix double mouse pointers

From: Thomas Zimmermann <tzimmermann@suse.de>
Date: 2021-10-07 14:33:38
Also in: dri-devel, lkml

Hi

Am 06.10.21 um 20:43 schrieb Dexuan Cui:
quoted
From: Dexuan Cui <decui@microsoft.com>
Sent: Thursday, September 16, 2021 12:37 PM
To: drawat.floss@gmail.com; Haiyang Zhang <haiyangz@microsoft.com>;
airlied@linux.ie; daniel@ffwll.ch; tzimmermann@suse.de;
dri-devel@lists.freedesktop.org
Cc: linux-hyperv@vger.kernel.org; linux-kernel@vger.kernel.org; Dexuan Cui
[off-list ref]
Subject: [PATCH v2] 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 <decui@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Deepak Rawat <redacted>
---

Changes in v2:
	Renamed hyperv_send_ptr() to hyperv_hide_hw_ptr().
	Improved the comments and the git commit message.
	Added Reviewed-by's from Haiyang and Deepak.

  drivers/gpu/drm/hyperv/hyperv_drm.h         |  1 +
  drivers/gpu/drm/hyperv/hyperv_drm_modeset.c |  1 +
  drivers/gpu/drm/hyperv/hyperv_drm_proto.c   | 54
++++++++++++++++++++-
  3 files changed, 55 insertions(+), 1 deletion(-)
Hi DRM maintainers,
Could you please take a look at the patch?
I pushed the patch into drm-misc-fixes. It should reach upstream sooned.

Best regards
Thomas
Thanks,
-- Dexuan
-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help