On Tue, Nov 4, 2025 at 2:25 AM Jani Nikula <[email protected]> wrote: > > Almost all DRM driver Kconfig options are in dedicated Kconfig files > under driver directories. Follow suit in hyperv. > > Cc: Deepak Rawat <[email protected]> > Signed-off-by: Jani Nikula <[email protected]> > --- > drivers/gpu/drm/Kconfig | 14 +------------- > drivers/gpu/drm/hyperv/Kconfig | 14 ++++++++++++++ > 2 files changed, 15 insertions(+), 13 deletions(-) > create mode 100644 drivers/gpu/drm/hyperv/Kconfig > > diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig > index 7e6bc0b3a589..15c2f941a4cd 100644 > --- a/drivers/gpu/drm/Kconfig > +++ b/drivers/gpu/drm/Kconfig > @@ -398,19 +398,7 @@ source "drivers/gpu/drm/imagination/Kconfig" > > source "drivers/gpu/drm/tyr/Kconfig" > > -config DRM_HYPERV > - tristate "DRM Support for Hyper-V synthetic video device" > - depends on DRM && PCI && HYPERV_VMBUS > - select DRM_CLIENT_SELECTION > - select DRM_KMS_HELPER > - select DRM_GEM_SHMEM_HELPER > - 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. > - > - If M is selected the module will be called hyperv_drm. > +source "drivers/gpu/drm/hyperv/Kconfig" > > # Separate option as not all DRM drivers use it > config DRM_PANEL_BACKLIGHT_QUIRKS > diff --git a/drivers/gpu/drm/hyperv/Kconfig b/drivers/gpu/drm/hyperv/Kconfig > new file mode 100644 > index 000000000000..86234f6a73f2 > --- /dev/null > +++ b/drivers/gpu/drm/hyperv/Kconfig > @@ -0,0 +1,14 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +config DRM_HYPERV > + tristate "DRM Support for Hyper-V synthetic video device" > + depends on DRM && PCI && HYPERV_VMBUS > + select DRM_CLIENT_SELECTION > + select DRM_KMS_HELPER > + select DRM_GEM_SHMEM_HELPER > + 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. > + > + If M is selected the module will be called hyperv_drm. > -- > 2.47.3 >
Reviewed-by: Deepak Rawat <[email protected]>
