Skip to content

Commit 34b4620

Browse files
Prasanna Kumar T S Mliuw
authored andcommitted
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. Signed-off-by: Prasanna Kumar T S M <ptsm@linux.microsoft.com> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Michael Kelley <mhklinux@outlook.com> Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
1 parent e3ec97c commit 34b4620

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

drivers/video/fbdev/Kconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1773,13 +1773,16 @@ config FB_BROADSHEET
17731773
a bridge adapter.
17741774

17751775
config FB_HYPERV
1776-
tristate "Microsoft Hyper-V Synthetic Video support"
1776+
tristate "Microsoft Hyper-V Synthetic Video support (DEPRECATED)"
17771777
depends on FB && HYPERV_VMBUS
17781778
select DMA_CMA if HAVE_DMA_CONTIGUOUS && CMA
17791779
select FB_IOMEM_HELPERS_DEFERRED
17801780
help
17811781
This framebuffer driver supports Microsoft Hyper-V Synthetic Video.
17821782

1783+
This driver is deprecated, please use the Hyper-V DRM driver at
1784+
drivers/gpu/drm/hyperv (CONFIG_DRM_HYPERV) instead.
1785+
17831786
config FB_SIMPLE
17841787
tristate "Simple framebuffer support"
17851788
depends on FB

drivers/video/fbdev/hyperv_fb.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,6 +1357,8 @@ static int __init hvfb_drv_init(void)
13571357
{
13581358
int ret;
13591359

1360+
pr_warn("Deprecated: use Hyper-V DRM driver instead\n");
1361+
13601362
if (fb_modesetting_disabled("hyper_fb"))
13611363
return -ENODEV;
13621364

0 commit comments

Comments
 (0)