lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <SN6PR02MB4157B6BD98B5E96A1360D0E2D4BBA@SN6PR02MB4157.namprd02.prod.outlook.com>
Date: Fri, 2 Jan 2026 17:45:58 +0000
From: Michael Kelley <mhklinux@...look.com>
To: Prasanna Kumar T S M <ptsm@...ux.microsoft.com>,
	"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>,
	"drawat.floss@...il.com" <drawat.floss@...il.com>, "tzimmermann@...e.de"
	<tzimmermann@...e.de>, Helge Deller <deller@....de>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
	"simona@...ll.ch" <simona@...ll.ch>, "airlied@...il.com" <airlied@...il.com>,
	"mripard@...nel.org" <mripard@...nel.org>,
	"maarten.lankhorst@...ux.intel.com" <maarten.lankhorst@...ux.intel.com>
Subject: RE: [PATCH 3/3] drm/hyprev: Remove reference to hyperv_fb driver

From: Prasanna Kumar T S M <ptsm@...ux.microsoft.com> Sent: Friday, December 26, 2025 8:32 PM
> 

There's a typo in the "Subject:" line of this patch -- drm/hyprev should be
drm/hyperv.

Michael

> Remove hyperv_fb reference as the driver is removed.
> 
> Signed-off-by: Prasanna Kumar T S M <ptsm@...ux.microsoft.com>
> ---
>  drivers/gpu/drm/Kconfig                   |  3 +--
>  drivers/gpu/drm/hyperv/hyperv_drm_proto.c | 15 +++++----------
>  2 files changed, 6 insertions(+), 12 deletions(-)
> 
> diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
> index 7e6bc0b3a589..01a1438b35a0 100644
> --- a/drivers/gpu/drm/Kconfig
> +++ b/drivers/gpu/drm/Kconfig
> @@ -407,8 +407,7 @@ config DRM_HYPERV
>  	help
>  	 This is a KMS driver for Hyper-V synthetic video device. Choose this
>  	 option if you would like to enable drm driver for Hyper-V virtual
> -	 machine. Unselect Hyper-V framebuffer driver (CONFIG_FB_HYPERV) so
> -	 that DRM driver is used by default.
> +	 machine.
> 
>  	 If M is selected the module will be called hyperv_drm.
> 
> diff --git a/drivers/gpu/drm/hyperv/hyperv_drm_proto.c
> b/drivers/gpu/drm/hyperv/hyperv_drm_proto.c
> index 013a7829182d..051ecc526832 100644
> --- a/drivers/gpu/drm/hyperv/hyperv_drm_proto.c
> +++ b/drivers/gpu/drm/hyperv/hyperv_drm_proto.c
> @@ -1,8 +1,6 @@
>  // SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Copyright 2021 Microsoft
> - *
> - * Portions of this code is derived from hyperv_fb.c
>   */
> 
>  #include <linux/hyperv.h>
> @@ -304,16 +302,13 @@ int hyperv_update_situation(struct hv_device *hdev, u8
> active, u32 bpp,
>   * 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, by setting msg.ptr_pos.is_visible = 1 and setting the
> - * msg.ptr_shape.data. Note: setting msg.ptr_pos.is_visible to 0 doesn't
> + * Hide the unwanted pointer, by setting msg.ptr_pos.is_visible = 1 and setting
> + * the msg.ptr_shape.data. Note: setting msg.ptr_pos.is_visible to 0 doesn't
>   * work in tests.
>   *
> - * Copy synthvid_send_ptr() to hyperv_drm and rename it to
> - * hyperv_hide_hw_ptr(). Note: hyperv_hide_hw_ptr() is also called in the
> - * handler of the SYNTHVID_FEATURE_CHANGE event, otherwise the host still
> - * draws an extra unwanted mouse pointer after the VM Connection window is
> - * closed and reopened.
> + * The hyperv_hide_hw_ptr() is also called in the handler of the
> + * SYNTHVID_FEATURE_CHANGE event, otherwise the host still draws an extra
> + * unwanted mouse pointer after the VM Connection window is closed and reopened.
>   */
>  int hyperv_hide_hw_ptr(struct hv_device *hdev)
>  {
> --
> 2.49.0
> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ