Skip to contentSkip to conversation

fbdev/hyperv_fb: deprecate this in favor of Hyper-V DRM driver

PATCH In review Prasanna Kumar T S M 5 participants 9 messages Sep 17, 2025 – Sep 30, 2025 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): E5C2A201B1BD

#1 lore raw

PATCH 1/2 fbdev/hyperv_fb: deprecate this in favor of Hyper-V DRM driver

The Hyper-V DRM driver is available since kernel version 5.14 and it provides full KMS support and fbdev emulation via the DRM fbdev helpers. Deprecate this driver in favor of Hyper-V DRM driver.

---
 drivers/video/fbdev/Kconfig     | 5 ++++-
 drivers/video/fbdev/hyperv_fb.c | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)
drivers/video/fbdev/Kconfig +4 -1
index c21484d15f0c..48c1c7417f6d 100644
@@ -1773,13 +1773,16 @@ config FB_BROADSHEET
 	  a bridge adapter.
 
 config FB_HYPERV
-	tristate "Microsoft Hyper-V Synthetic Video support"
+	tristate "Microsoft Hyper-V Synthetic Video support (DEPRECATED)"
 	depends on FB && HYPERV
 	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/hyperv_fb.c +2 -0
index 75338ffc703f..c99e2ea4b3de 100644
@@ -1357,6 +1357,8 @@ static int __init hvfb_drv_init(void)
 {
 	int ret;
 
+	pr_warn("Deprecated: use Hyper-V DRM driver instead\n");
+
 	if (fb_modesetting_disabled("hyper_fb"))
 		return -ENODEV;
 
Signature · 1 line
2.49.0
Acked-by on v1 1/2
#2 lore raw

Am 17.09.25 um 16:03 schrieb Prasanna Kumar T S M:

Quoted 5 lines

The Hyper-V DRM driver is available since kernel version 5.14 and it provides full KMS support and fbdev emulation via the DRM fbdev helpers. Deprecate this driver in favor of Hyper-V DRM driver.

Quoted 40 lines
---
  drivers/video/fbdev/Kconfig     | 5 ++++-
  drivers/video/fbdev/hyperv_fb.c | 2 ++
  2 files changed, 6 insertions(+), 1 deletion(-)
drivers/video/fbdev/Kconfig +4 -1
index c21484d15f0c..48c1c7417f6d 100644
@@ -1773,13 +1773,16 @@ config FB_BROADSHEET
  	  a bridge adapter.
 
  config FB_HYPERV
-	tristate "Microsoft Hyper-V Synthetic Video support"
+	tristate "Microsoft Hyper-V Synthetic Video support (DEPRECATED)"
  	depends on FB && HYPERV
  	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/hyperv_fb.c +2 -0
index 75338ffc703f..c99e2ea4b3de 100644
@@ -1357,6 +1357,8 @@ static int __init hvfb_drv_init(void)
  {
  	int ret;
 
+	pr_warn("Deprecated: use Hyper-V DRM driver instead\n");
+
  	if (fb_modesetting_disabled("hyper_fb"))
  		return -ENODEV;
 
Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
Reviewed-by on v1 1/2
#3 lore raw
In reply to Prasanna Kumar T S M

From: Prasanna Kumar T S M <[email protected]> Sent: Wednesday, September 17, 2025 7:03 AM

Quoted 47 lines

The Hyper-V DRM driver is available since kernel version 5.14 and it provides full KMS support and fbdev emulation via the DRM fbdev helpers. Deprecate this driver in favor of Hyper-V DRM driver.

---
 drivers/video/fbdev/Kconfig     | 5 ++++-
 drivers/video/fbdev/hyperv_fb.c | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)
drivers/video/fbdev/Kconfig +4 -1
index c21484d15f0c..48c1c7417f6d 100644
@@ -1773,13 +1773,16 @@ config FB_BROADSHEET
 	  a bridge adapter.
 
 config FB_HYPERV
-	tristate "Microsoft Hyper-V Synthetic Video support"
+	tristate "Microsoft Hyper-V Synthetic Video support (DEPRECATED)"
 	depends on FB && HYPERV
 	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/hyperv_fb.c +2 -1
index 75338ffc703f..c99e2ea4b3de 100644
@@ -1357,6 +1357,8 @@ static int __init hvfb_drv_init(void)
 {
 	int ret;
 
+	pr_warn("Deprecated: use Hyper-V DRM driver instead\n");
+
 	if (fb_modesetting_disabled("hyper_fb"))
 		return -ENODEV;
 
--
Quoted 1 line

2.49.0

maintainer
#4 lore raw
Quoted 11 lines · Michael Kelley

From: Prasanna Kumar T S M <[email protected]> Sent: Wednesday, September 17, 2025 7:03 AM

Quoted 10 lines

The Hyper-V DRM driver is available since kernel version 5.14 and it provides full KMS support and fbdev emulation via the DRM fbdev helpers. Deprecate this driver in favor of Hyper-V DRM driver.

---
  drivers/video/fbdev/Kconfig     | 5 ++++-
  drivers/video/fbdev/hyperv_fb.c | 2 ++
  2 files changed, 6 insertions(+), 1 deletion(-)

Series applied to fbdev git tree.

Thanks!
Helge

Reviewed-by on v1 1/2
#5 lore raw
In reply to Prasanna Kumar T S M
Quoted 47 lines · Prasanna Kumar T S M

The Hyper-V DRM driver is available since kernel version 5.14 and it provides full KMS support and fbdev emulation via the DRM fbdev helpers. Deprecate this driver in favor of Hyper-V DRM driver.

---
 drivers/video/fbdev/Kconfig     | 5 ++++-
 drivers/video/fbdev/hyperv_fb.c | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)
drivers/video/fbdev/Kconfig +4 -1
index c21484d15f0c..48c1c7417f6d 100644
@@ -1773,13 +1773,16 @@ config FB_BROADSHEET
 	  a bridge adapter.
 
 config FB_HYPERV
-	tristate "Microsoft Hyper-V Synthetic Video support"
+	tristate "Microsoft Hyper-V Synthetic Video support (DEPRECATED)"
 	depends on FB && HYPERV
 	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/hyperv_fb.c +2 -0
index 75338ffc703f..c99e2ea4b3de 100644
@@ -1357,6 +1357,8 @@ static int __init hvfb_drv_init(void)
 {
 	int ret;
 
+	pr_warn("Deprecated: use Hyper-V DRM driver instead\n");
+
 	if (fb_modesetting_disabled("hyper_fb"))
 		return -ENODEV;
 
Signature · 1 line
2.49.0

Thanks for the patch. I hope it makes to the next LTS as planned.

#6 lore raw

PATCH 2/2 MAINTAINERS: Mark hyperv_fb driver Obsolete

In reply to a message not in the archive

The hyperv_fb driver is deprecated in favor of Hyper-V DRM driver. Split the hyperv_fb entry from the hyperv drivers list, mark it obsolete.

---
 MAINTAINERS | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
MAINTAINERS +10 -1
index f6206963efbf..aa9d0fa6020b 100644
@@ -11424,7 +11424,6 @@ F:	drivers/pci/controller/pci-hyperv-intf.c
 F:	drivers/pci/controller/pci-hyperv.c
 F:	drivers/scsi/storvsc_drv.c
 F:	drivers/uio/uio_hv_generic.c
-F:	drivers/video/fbdev/hyperv_fb.c
 F:	include/asm-generic/mshyperv.h
 F:	include/clocksource/hyperv_timer.h
 F:	include/hyperv/hvgdk.h
@@ -11438,6 +11437,16 @@ F:	include/uapi/linux/hyperv.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]>
Signature · 1 line
2.49.0
Acked-by on v1 2/2
#7 lore raw

Re: [PATCH 2/2] MAINTAINERS: Mark hyperv_fb driver Obsolete

Am 17.09.25 um 16:03 schrieb Prasanna Kumar T S M:

Quoted 4 lines

The hyperv_fb driver is deprecated in favor of Hyper-V DRM driver. Split the hyperv_fb entry from the hyperv drivers list, mark it obsolete.

Quoted 33 lines
---
  MAINTAINERS | 11 ++++++++++-
  1 file changed, 10 insertions(+), 1 deletion(-)
MAINTAINERS +10 -1
index f6206963efbf..aa9d0fa6020b 100644
@@ -11424,7 +11424,6 @@ F:	drivers/pci/controller/pci-hyperv-intf.c
  F:	drivers/pci/controller/pci-hyperv.c
  F:	drivers/scsi/storvsc_drv.c
  F:	drivers/uio/uio_hv_generic.c
-F:	drivers/video/fbdev/hyperv_fb.c
  F:	include/asm-generic/mshyperv.h
  F:	include/clocksource/hyperv_timer.h
  F:	include/hyperv/hvgdk.h
@@ -11438,6 +11437,16 @@ F:	include/uapi/linux/hyperv.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]>
Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
Reviewed-by on v1 2/2
#8 lore raw

RE: [PATCH 2/2] MAINTAINERS: Mark hyperv_fb driver Obsolete

In reply to Prasanna Kumar T S M

From: Prasanna Kumar T S M <[email protected]> Sent: Wednesday, September 17, 2025 7:03 AM

Quoted 39 lines

The hyperv_fb driver is deprecated in favor of Hyper-V DRM driver. Split the hyperv_fb entry from the hyperv drivers list, mark it obsolete.

---
 MAINTAINERS | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
MAINTAINERS +10 -2
index f6206963efbf..aa9d0fa6020b 100644
@@ -11424,7 +11424,6 @@ F:	drivers/pci/controller/pci-hyperv-intf.c
 F:	drivers/pci/controller/pci-hyperv.c
 F:	drivers/scsi/storvsc_drv.c
 F:	drivers/uio/uio_hv_generic.c
-F:	drivers/video/fbdev/hyperv_fb.c
 F:	include/asm-generic/mshyperv.h
 F:	include/clocksource/hyperv_timer.h
 F:	include/hyperv/hvgdk.h
@@ -11438,6 +11437,16 @@ F:	include/uapi/linux/hyperv.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]>
--
Quoted 1 line

2.49.0

Reviewed-by on v1 2/2
#9 lore raw

Re: [PATCH 2/2] MAINTAINERS: Mark hyperv_fb driver Obsolete

In reply to Prasanna Kumar T S M
Quoted 39 lines · Prasanna Kumar T S M

The hyperv_fb driver is deprecated in favor of Hyper-V DRM driver. Split the hyperv_fb entry from the hyperv drivers list, mark it obsolete.

---
 MAINTAINERS | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
MAINTAINERS +10 -1
index f6206963efbf..aa9d0fa6020b 100644
@@ -11424,7 +11424,6 @@ F:	drivers/pci/controller/pci-hyperv-intf.c
 F:	drivers/pci/controller/pci-hyperv.c
 F:	drivers/scsi/storvsc_drv.c
 F:	drivers/uio/uio_hv_generic.c
-F:	drivers/video/fbdev/hyperv_fb.c
 F:	include/asm-generic/mshyperv.h
 F:	include/clocksource/hyperv_timer.h
 F:	include/hyperv/hvgdk.h
@@ -11438,6 +11437,16 @@ F:	include/uapi/linux/hyperv.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]>
Signature · 1 line
2.49.0