drivers: video: fbdev: Remove hyperv_fb driver
Subsystems (6)
PATCH 1/3 drivers: video: fbdev: Remove hyperv_fb driver
The HyperV DRM driver is available since 5.14. This makes the hyperv_fb driver redundant, remove it.
--- MAINTAINERS | 10 - drivers/video/fbdev/Kconfig | 11 - drivers/video/fbdev/Makefile | 1 - drivers/video/fbdev/hyperv_fb.c | 1388 ------------------------------- 4 files changed, 1410 deletions(-) delete mode 100644 drivers/video/fbdev/hyperv_fb.c
MAINTAINERS +0 -10
@@ -11762,16 +11762,6 @@ F: include/uapi/rdma/mana-abi.h F: net/vmw_vsock/hyperv_transport.c F: tools/hv/ -HYPER-V FRAMEBUFFER DRIVER -M: "K. Y. Srinivasan" <[email protected]> -M: Haiyang Zhang <[email protected]> -M: Wei Liu <[email protected]> -M: Dexuan Cui <[email protected]> -L: [email protected] -S: Obsolete -T: git git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git -F: drivers/video/fbdev/hyperv_fb.c - HYPERBUS SUPPORT M: Vignesh Raghavendra <[email protected]> R: Tudor Ambarus <[email protected]>
drivers/video/fbdev/Kconfig +0 -11
@@ -1770,17 +1770,6 @@ config FB_BROADSHEET and could also have been called by other names when coupled with a bridge adapter. -config FB_HYPERV - tristate "Microsoft Hyper-V Synthetic Video support (DEPRECATED)" - depends on FB && HYPERV_VMBUS - select DMA_CMA if HAVE_DMA_CONTIGUOUS && CMA - select FB_IOMEM_HELPERS_DEFERRED - help - This framebuffer driver supports Microsoft Hyper-V Synthetic Video. - - This driver is deprecated, please use the Hyper-V DRM driver at - drivers/gpu/drm/hyperv (CONFIG_DRM_HYPERV) instead. - config FB_SIMPLE tristate "Simple framebuffer support" depends on FB
drivers/video/fbdev/Makefile +0 -1
@@ -111,7 +111,6 @@ obj-y += omap2/ obj-$(CONFIG_XEN_FBDEV_FRONTEND) += xen-fbfront.o obj-$(CONFIG_FB_CARMINE) += carminefb.o obj-$(CONFIG_FB_MB862XX) += mb862xx/ -obj-$(CONFIG_FB_HYPERV) += hyperv_fb.o obj-$(CONFIG_FB_OPENCORES) += ocfb.o obj-$(CONFIG_FB_SM712) += sm712fb.o
drivers/video/fbdev/hyperv_fb.c deleted +0 -1388
1,388 lines not on this page · raw message
Signature · 1 line
2.49.0
PATCH 2/3 drivers: hv: vmbus_drv: Remove reference to hpyerv_fb
Remove hyperv_fb reference as the driver is removed.
--- drivers/hv/vmbus_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hv/vmbus_drv.c +2 -2
@@ -2356,8 +2356,8 @@ static void __maybe_unused vmbus_reserve_fb(void) }/* -* Release the PCI device so hyperv_drm or hyperv_fb driver can -* grab it later. +* Release the PCI device so hyperv_drm driver can grab it +* later. */ pci_dev_put (pdev); }
Signature · 1 line
2.49.0
RE: [PATCH 2/3] drivers: hv: vmbus_drv: Remove reference to hpyerv_fb
From: Prasanna Kumar T S M <[email protected]> Sent: Friday, December 26, 2025 8:27 PM
Quoted 1 line
Helge --
I don't know why I'm just noticing this now, but this patch that you picked up also has a "hyperv_fb" spelling typo in the Subject: line. To match historical practice, the Subject: line really should be:
Drivers: hv: vmbus: Remove reference to hyperv_fb
If it's something you can clean up easily, that would be nice. If it's a pain, don't worry about it.
Michael
Quoted 25 lines
Remove
hyperv_fbreference as the driver is removed.Signed-off-by Prasanna Kumar T S M <[email protected]>--- drivers/hv/vmbus_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/hv/vmbus_drv.c +2
-3@@ -2356,8 +2356,8 @@ static void __maybe_unused vmbus_reserve_fb(void) }/* -* Release the PCI device so hyperv_drm or hyperv_fb driver can -* grab it later. +* Release the PCI device so hyperv_drm driver can grab it +* later. */ pci_dev_put (pdev); } --2.49.0
PATCH 3/3 drm/hyprev: Remove reference to hyperv_fb driver
In reply to Prasanna Kumar T S MRemove hyperv_fb reference as the driver is removed.
--- drivers/gpu/drm/Kconfig | 3 +-- drivers/gpu/drm/hyperv/hyperv_drm_proto.c | 15 +++++---------- 2 files changed, 6 insertions(+), 12 deletions(-)
drivers/gpu/drm/Kconfig +1 -2
@@ -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.
drivers/gpu/drm/hyperv/hyperv_drm_proto.c +5 -10
@@ -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) {
Signature · 1 line
2.49.0
RE: [PATCH 3/3] drm/hyprev: Remove reference to hyperv_fb driver
From: Prasanna Kumar T S M <[email protected]> Sent: Friday, December 26, 2025 8:32 PM
Quoted 1 line
There's a typo in the "Subject:" line of this patch -- drm/hyprev should be drm/hyperv.
Michael
Quoted 62 lines
Remove
hyperv_fbreference as the driver is removed.Signed-off-by Prasanna Kumar T S M <[email protected]>--- drivers/gpu/drm/Kconfig | 3 +-- drivers/gpu/drm/hyperv/hyperv_drm_proto.c | 15 +++++---------- 2 files changed, 6 insertions(+), 12 deletions(-)drivers/gpu/drm/Kconfig +1
-2@@ -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.drivers/gpu/drm/hyperv/hyperv_drm_proto.c +5
-10@@ -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, u8active, 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
Quoted 11 lines · Prasanna Kumar T S M
The HyperV DRM driver is available since 5.14. This makes the
hyperv_fbdriver redundant, remove it.Signed-off-by Prasanna Kumar T S M <[email protected]>--- MAINTAINERS | 10 - drivers/video/fbdev/Kconfig | 11 - drivers/video/fbdev/Makefile | 1 - drivers/video/fbdev/hyperv_fb.c | 1388 ------------------------------- 4 files changed, 1410 deletions(-)delete mode 100644
drivers/video/fbdev/hyperv_fb.c
applied to fbdev git tree.
Thanks!
Helge
From: Helge Deller <[email protected]> Sent: Tuesday, December 30, 2025 1:07 AM
Quoted 14 lines · Prasanna Kumar T S M
Quoted 11 lines
The HyperV DRM driver is available since 5.14. This makes the
hyperv_fbdriver redundant, remove it.Signed-off-by Prasanna Kumar T S M <[email protected]>--- MAINTAINERS | 10 - drivers/video/fbdev/Kconfig | 11 - drivers/video/fbdev/Makefile | 1 - drivers/video/fbdev/hyperv_fb.c | 1388 ------------------------------- 4 files changed, 1410 deletions(-)delete mode 100644
drivers/video/fbdev/hyperv_fb.c
Quoted 2 lines
applied to fbdev git tree.
Helge -- it looks like you picked up only this patch of the three-patch series. The other two patches of the series are fixing up comments that referenc the hyperv_fb driver, and they affect the DRM and Hyper-V subsystems. Just want to make sure those maintainers pick up the other two patches if that's your intent.
Michael
Helge Deller
maintainerQuoted 15 lines · Michael Kelley
From: Helge Deller <[email protected]> Sent: Tuesday, December 30, 2025 1:07 AM
Quoted 14 lines · Prasanna Kumar T S M
Quoted 11 lines
The HyperV DRM driver is available since 5.14. This makes the
hyperv_fbdriver redundant, remove it.Signed-off-by Prasanna Kumar T S M <[email protected]>--- MAINTAINERS | 10 - drivers/video/fbdev/Kconfig | 11 - drivers/video/fbdev/Makefile | 1 - drivers/video/fbdev/hyperv_fb.c | 1388 ------------------------------- 4 files changed, 1410 deletions(-)delete mode 100644
drivers/video/fbdev/hyperv_fb.c
Quoted 8 lines
Quoted 2 lines
applied to fbdev git tree.
Helge -- it looks like you picked up only this patch of the three-patch series. The other two patches of the series are fixing up comments that referenc the
hyperv_fbdriver, and they affect the DRM and Hyper-V subsystems. Just want to make sure those maintainers pick up the other two patches if that's your intent.
Since the patches #2 and #3 only fix comments, I've now applied both to the fbdev tree as well. If there will be conflicts (e.g. if maintainers pick up too), I can easily drop them again.
Thanks!
Helge
From: Helge Deller <[email protected]> Sent: Friday, January 2, 2026 11:11 AM
Quoted 26 lines · Michael Kelley
Quoted 15 lines
From: Helge Deller <[email protected]> Sent: Tuesday, December 30, 2025 1:07 AM
Quoted 14 lines · Prasanna Kumar T S M
Quoted 11 lines
The HyperV DRM driver is available since 5.14. This makes the
hyperv_fbdriver redundant, remove it.Signed-off-by Prasanna Kumar T S M <[email protected]>--- MAINTAINERS | 10 - drivers/video/fbdev/Kconfig | 11 - drivers/video/fbdev/Makefile | 1 - drivers/video/fbdev/hyperv_fb.c | 1388 ------------------------------- 4 files changed, 1410 deletions(-)delete mode 100644
drivers/video/fbdev/hyperv_fb.cQuoted 8 lines
Quoted 2 lines
applied to fbdev git tree.
Helge -- it looks like you picked up only this patch of the three-patch series. The other two patches of the series are fixing up comments that referenc the
hyperv_fbdriver, and they affect the DRM and Hyper-V subsystems. Just want to make sure those maintainers pick up the other two patches if that's your intent.
Quoted 6 lines
Since the patches #2 and #3 only fix comments, I've now applied both to the fbdev tree as well. If there will be conflicts (e.g. if maintainers pick up too), I can easily drop them again.
Thanks!
Helge
Any chance you can fix the typo in the Subject line of the 3rd patch? "drm/hyprev" should be "drm/hyperv".
Thx ...
Michael
Helge Deller
maintainerQuoted 31 lines · Michael Kelley
From: Helge Deller <[email protected]> Sent: Friday, January 2, 2026 11:11 AM
Quoted 30 lines · Michael Kelley
Quoted 15 lines
From: Helge Deller <[email protected]> Sent: Tuesday, December 30, 2025 1:07 AM
Quoted 14 lines · Prasanna Kumar T S M
Quoted 11 lines
The HyperV DRM driver is available since 5.14. This makes the
hyperv_fbdriver redundant, remove it.Signed-off-by Prasanna Kumar T S M <[email protected]>--- MAINTAINERS | 10 - drivers/video/fbdev/Kconfig | 11 - drivers/video/fbdev/Makefile | 1 - drivers/video/fbdev/hyperv_fb.c | 1388 ------------------------------- 4 files changed, 1410 deletions(-)delete mode 100644
drivers/video/fbdev/hyperv_fb.cQuoted 8 lines
Quoted 2 lines
applied to fbdev git tree.
Helge -- it looks like you picked up only this patch of the three-patch series. The other two patches of the series are fixing up comments that referenc the
hyperv_fbdriver, and they affect the DRM and Hyper-V subsystems. Just want to make sure those maintainers pick up the other two patches if that's your intent.Since the patches #2 and #3 only fix comments, I've now applied both to the fbdev tree as well. If there will be conflicts (e.g. if maintainers pick up too), I can easily drop them again.
Quoted 5 lines
Quoted 2 lines
Thanks!
HelgeAny chance you can fix the typo in the Subject line of the 3rd patch? "drm/hyprev" should be "drm/hyperv".
Sure. Fixed now.
Thanks!
Helge
From: Helge Deller <[email protected]> Sent: Friday, January 2, 2026 11:21 AM
Quoted 33 lines · Michael Kelley
Quoted 31 lines
From: Helge Deller <[email protected]> Sent: Friday, January 2, 2026 11:11 AM
Quoted 30 lines · Michael Kelley
Quoted 15 lines
From: Helge Deller <[email protected]> Sent: Tuesday, December 30, 2025 1:07 AM
Quoted 14 lines · Prasanna Kumar T S M
Quoted 11 lines
The HyperV DRM driver is available since 5.14. This makes the
hyperv_fbdriver redundant, remove it.Signed-off-by Prasanna Kumar T S M <[email protected]>--- MAINTAINERS | 10 - drivers/video/fbdev/Kconfig | 11 - drivers/video/fbdev/Makefile | 1 - drivers/video/fbdev/hyperv_fb.c | 1388 ------------------------------- 4 files changed, 1410 deletions(-)delete mode 100644
drivers/video/fbdev/hyperv_fb.cQuoted 8 lines
Quoted 2 lines
applied to fbdev git tree.
Helge -- it looks like you picked up only this patch of the three-patch series. The other two patches of the series are fixing up comments that referenc the
hyperv_fbdriver, and they affect the DRM and Hyper-V subsystems. Just want to make sure those maintainers pick up the other two patches if that's your intent.Since the patches #2 and #3 only fix comments, I've now applied both to the fbdev tree as well. If there will be conflicts (e.g. if maintainers pick up too), I can easily drop them again.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Thanks!
HelgeAny chance you can fix the typo in the Subject line of the 3rd patch? "drm/hyprev" should be "drm/hyperv".
Sure. Fixed now.
All looks good! Appreciate it ...
Michael