]> www.infradead.org Git - users/hch/misc.git/commitdiff
fbdev/hyperv_fb: deprecate this in favor of Hyper-V DRM driver
authorPrasanna Kumar T S M <ptsm@linux.microsoft.com>
Thu, 2 Oct 2025 21:10:36 +0000 (21:10 +0000)
committerWei Liu <wei.liu@kernel.org>
Thu, 2 Oct 2025 21:15:29 +0000 (21:15 +0000)
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>
drivers/video/fbdev/Kconfig
drivers/video/fbdev/hyperv_fb.c

index 72c63eaeb983aa5ee9f55b413b2e77a751a0c5a1..c3b9954df804d3237a0417335c3f36b23cfbc7ea 100644 (file)
@@ -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_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
index 75338ffc703fb56bcdff3ab496a462c73e8745ef..c99e2ea4b3de0f1300c5df5abcc0c6d67e4ed4e1 100644 (file)
@@ -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;