Skip to content

Commit 8f582bc

Browse files
Prasanna Kumar T S Mhdeller
authored andcommitted
drm/hyperv: Remove reference to hyperv_fb driver
Remove hyperv_fb reference as the driver is removed. Signed-off-by: Prasanna Kumar T S M <ptsm@linux.microsoft.com> Signed-off-by: Helge Deller <deller@gmx.de>
1 parent d65f297 commit 8f582bc

2 files changed

Lines changed: 151 additions & 10 deletions

File tree

drivers/gpu/drm/Kconfig

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,152 @@ config DRM_SCHED
265265
tristate
266266
depends on DRM
267267

268+
source "drivers/gpu/drm/sysfb/Kconfig"
269+
270+
source "drivers/gpu/drm/arm/Kconfig"
271+
272+
source "drivers/gpu/drm/radeon/Kconfig"
273+
274+
source "drivers/gpu/drm/amd/amdgpu/Kconfig"
275+
276+
source "drivers/gpu/drm/nouveau/Kconfig"
277+
278+
source "drivers/gpu/drm/nova/Kconfig"
279+
280+
source "drivers/gpu/drm/i915/Kconfig"
281+
282+
source "drivers/gpu/drm/xe/Kconfig"
283+
284+
source "drivers/gpu/drm/kmb/Kconfig"
285+
286+
config DRM_VGEM
287+
tristate "Virtual GEM provider"
288+
depends on DRM && MMU
289+
select DRM_GEM_SHMEM_HELPER
290+
help
291+
Choose this option to get a virtual graphics memory manager,
292+
as used by Mesa's software renderer for enhanced performance.
293+
If M is selected the module will be called vgem.
294+
295+
source "drivers/gpu/drm/vkms/Kconfig"
296+
297+
source "drivers/gpu/drm/exynos/Kconfig"
298+
299+
source "drivers/gpu/drm/rockchip/Kconfig"
300+
301+
source "drivers/gpu/drm/vmwgfx/Kconfig"
302+
303+
source "drivers/gpu/drm/gma500/Kconfig"
304+
305+
source "drivers/gpu/drm/udl/Kconfig"
306+
307+
source "drivers/gpu/drm/ast/Kconfig"
308+
309+
source "drivers/gpu/drm/mgag200/Kconfig"
310+
311+
source "drivers/gpu/drm/armada/Kconfig"
312+
313+
source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
314+
315+
source "drivers/gpu/drm/renesas/Kconfig"
316+
317+
source "drivers/gpu/drm/sun4i/Kconfig"
318+
319+
source "drivers/gpu/drm/omapdrm/Kconfig"
320+
321+
source "drivers/gpu/drm/tilcdc/Kconfig"
322+
323+
source "drivers/gpu/drm/qxl/Kconfig"
324+
325+
source "drivers/gpu/drm/virtio/Kconfig"
326+
327+
source "drivers/gpu/drm/msm/Kconfig"
328+
329+
source "drivers/gpu/drm/fsl-dcu/Kconfig"
330+
331+
source "drivers/gpu/drm/tegra/Kconfig"
332+
333+
source "drivers/gpu/drm/stm/Kconfig"
334+
335+
source "drivers/gpu/drm/panel/Kconfig"
336+
337+
source "drivers/gpu/drm/bridge/Kconfig"
338+
339+
source "drivers/gpu/drm/sti/Kconfig"
340+
341+
source "drivers/gpu/drm/imx/Kconfig"
342+
343+
source "drivers/gpu/drm/ingenic/Kconfig"
344+
345+
source "drivers/gpu/drm/v3d/Kconfig"
346+
347+
source "drivers/gpu/drm/vc4/Kconfig"
348+
349+
source "drivers/gpu/drm/loongson/Kconfig"
350+
351+
source "drivers/gpu/drm/etnaviv/Kconfig"
352+
353+
source "drivers/gpu/drm/hisilicon/Kconfig"
354+
355+
source "drivers/gpu/drm/logicvc/Kconfig"
356+
357+
source "drivers/gpu/drm/mediatek/Kconfig"
358+
359+
source "drivers/gpu/drm/mxsfb/Kconfig"
360+
361+
source "drivers/gpu/drm/meson/Kconfig"
362+
363+
source "drivers/gpu/drm/tiny/Kconfig"
364+
365+
source "drivers/gpu/drm/pl111/Kconfig"
366+
367+
source "drivers/gpu/drm/tve200/Kconfig"
368+
369+
source "drivers/gpu/drm/xen/Kconfig"
370+
371+
source "drivers/gpu/drm/vboxvideo/Kconfig"
372+
373+
source "drivers/gpu/drm/lima/Kconfig"
374+
375+
source "drivers/gpu/drm/panfrost/Kconfig"
376+
377+
source "drivers/gpu/drm/panthor/Kconfig"
378+
379+
source "drivers/gpu/drm/aspeed/Kconfig"
380+
381+
source "drivers/gpu/drm/mcde/Kconfig"
382+
383+
source "drivers/gpu/drm/tidss/Kconfig"
384+
385+
source "drivers/gpu/drm/adp/Kconfig"
386+
387+
source "drivers/gpu/drm/xlnx/Kconfig"
388+
389+
source "drivers/gpu/drm/gud/Kconfig"
390+
391+
source "drivers/gpu/drm/sitronix/Kconfig"
392+
393+
source "drivers/gpu/drm/solomon/Kconfig"
394+
395+
source "drivers/gpu/drm/sprd/Kconfig"
396+
397+
source "drivers/gpu/drm/imagination/Kconfig"
398+
399+
source "drivers/gpu/drm/tyr/Kconfig"
400+
401+
config DRM_HYPERV
402+
tristate "DRM Support for Hyper-V synthetic video device"
403+
depends on DRM && PCI && HYPERV_VMBUS
404+
select DRM_CLIENT_SELECTION
405+
select DRM_KMS_HELPER
406+
select DRM_GEM_SHMEM_HELPER
407+
help
408+
This is a KMS driver for Hyper-V synthetic video device. Choose this
409+
option if you would like to enable drm driver for Hyper-V virtual
410+
machine.
411+
412+
If M is selected the module will be called hyperv_drm.
413+
268414
# Separate option as not all DRM drivers use it
269415
config DRM_PANEL_BACKLIGHT_QUIRKS
270416
tristate

drivers/gpu/drm/hyperv/hyperv_drm_proto.c

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0-only
22
/*
33
* Copyright 2021 Microsoft
4-
*
5-
* Portions of this code is derived from hyperv_fb.c
64
*/
75

86
#include <linux/hyperv.h>
@@ -304,16 +302,13 @@ int hyperv_update_situation(struct hv_device *hdev, u8 active, u32 bpp,
304302
* but the Hyper-V host still draws a point as an extra mouse pointer,
305303
* which is unwanted, especially when Xorg is running.
306304
*
307-
* The hyperv_fb driver uses synthvid_send_ptr() to hide the unwanted
308-
* pointer, by setting msg.ptr_pos.is_visible = 1 and setting the
309-
* msg.ptr_shape.data. Note: setting msg.ptr_pos.is_visible to 0 doesn't
305+
* Hide the unwanted pointer, by setting msg.ptr_pos.is_visible = 1 and setting
306+
* the msg.ptr_shape.data. Note: setting msg.ptr_pos.is_visible to 0 doesn't
310307
* work in tests.
311308
*
312-
* Copy synthvid_send_ptr() to hyperv_drm and rename it to
313-
* hyperv_hide_hw_ptr(). Note: hyperv_hide_hw_ptr() is also called in the
314-
* handler of the SYNTHVID_FEATURE_CHANGE event, otherwise the host still
315-
* draws an extra unwanted mouse pointer after the VM Connection window is
316-
* closed and reopened.
309+
* The hyperv_hide_hw_ptr() is also called in the handler of the
310+
* SYNTHVID_FEATURE_CHANGE event, otherwise the host still draws an extra
311+
* unwanted mouse pointer after the VM Connection window is closed and reopened.
317312
*/
318313
int hyperv_hide_hw_ptr(struct hv_device *hdev)
319314
{

0 commit comments

Comments
 (0)