···265265 tristate266266 depends on DRM267267268268+source "drivers/gpu/drm/sysfb/Kconfig"269269+270270+source "drivers/gpu/drm/arm/Kconfig"271271+272272+source "drivers/gpu/drm/radeon/Kconfig"273273+274274+source "drivers/gpu/drm/amd/amdgpu/Kconfig"275275+276276+source "drivers/gpu/drm/nouveau/Kconfig"277277+278278+source "drivers/gpu/drm/nova/Kconfig"279279+280280+source "drivers/gpu/drm/i915/Kconfig"281281+282282+source "drivers/gpu/drm/xe/Kconfig"283283+284284+source "drivers/gpu/drm/kmb/Kconfig"285285+286286+config DRM_VGEM287287+ tristate "Virtual GEM provider"288288+ depends on DRM && MMU289289+ select DRM_GEM_SHMEM_HELPER290290+ help291291+ Choose this option to get a virtual graphics memory manager,292292+ as used by Mesa's software renderer for enhanced performance.293293+ If M is selected the module will be called vgem.294294+295295+source "drivers/gpu/drm/vkms/Kconfig"296296+297297+source "drivers/gpu/drm/exynos/Kconfig"298298+299299+source "drivers/gpu/drm/rockchip/Kconfig"300300+301301+source "drivers/gpu/drm/vmwgfx/Kconfig"302302+303303+source "drivers/gpu/drm/gma500/Kconfig"304304+305305+source "drivers/gpu/drm/udl/Kconfig"306306+307307+source "drivers/gpu/drm/ast/Kconfig"308308+309309+source "drivers/gpu/drm/mgag200/Kconfig"310310+311311+source "drivers/gpu/drm/armada/Kconfig"312312+313313+source "drivers/gpu/drm/atmel-hlcdc/Kconfig"314314+315315+source "drivers/gpu/drm/renesas/Kconfig"316316+317317+source "drivers/gpu/drm/sun4i/Kconfig"318318+319319+source "drivers/gpu/drm/omapdrm/Kconfig"320320+321321+source "drivers/gpu/drm/tilcdc/Kconfig"322322+323323+source "drivers/gpu/drm/qxl/Kconfig"324324+325325+source "drivers/gpu/drm/virtio/Kconfig"326326+327327+source "drivers/gpu/drm/msm/Kconfig"328328+329329+source "drivers/gpu/drm/fsl-dcu/Kconfig"330330+331331+source "drivers/gpu/drm/tegra/Kconfig"332332+333333+source "drivers/gpu/drm/stm/Kconfig"334334+335335+source "drivers/gpu/drm/panel/Kconfig"336336+337337+source "drivers/gpu/drm/bridge/Kconfig"338338+339339+source "drivers/gpu/drm/sti/Kconfig"340340+341341+source "drivers/gpu/drm/imx/Kconfig"342342+343343+source "drivers/gpu/drm/ingenic/Kconfig"344344+345345+source "drivers/gpu/drm/v3d/Kconfig"346346+347347+source "drivers/gpu/drm/vc4/Kconfig"348348+349349+source "drivers/gpu/drm/loongson/Kconfig"350350+351351+source "drivers/gpu/drm/etnaviv/Kconfig"352352+353353+source "drivers/gpu/drm/hisilicon/Kconfig"354354+355355+source "drivers/gpu/drm/logicvc/Kconfig"356356+357357+source "drivers/gpu/drm/mediatek/Kconfig"358358+359359+source "drivers/gpu/drm/mxsfb/Kconfig"360360+361361+source "drivers/gpu/drm/meson/Kconfig"362362+363363+source "drivers/gpu/drm/tiny/Kconfig"364364+365365+source "drivers/gpu/drm/pl111/Kconfig"366366+367367+source "drivers/gpu/drm/tve200/Kconfig"368368+369369+source "drivers/gpu/drm/xen/Kconfig"370370+371371+source "drivers/gpu/drm/vboxvideo/Kconfig"372372+373373+source "drivers/gpu/drm/lima/Kconfig"374374+375375+source "drivers/gpu/drm/panfrost/Kconfig"376376+377377+source "drivers/gpu/drm/panthor/Kconfig"378378+379379+source "drivers/gpu/drm/aspeed/Kconfig"380380+381381+source "drivers/gpu/drm/mcde/Kconfig"382382+383383+source "drivers/gpu/drm/tidss/Kconfig"384384+385385+source "drivers/gpu/drm/adp/Kconfig"386386+387387+source "drivers/gpu/drm/xlnx/Kconfig"388388+389389+source "drivers/gpu/drm/gud/Kconfig"390390+391391+source "drivers/gpu/drm/sitronix/Kconfig"392392+393393+source "drivers/gpu/drm/solomon/Kconfig"394394+395395+source "drivers/gpu/drm/sprd/Kconfig"396396+397397+source "drivers/gpu/drm/imagination/Kconfig"398398+399399+source "drivers/gpu/drm/tyr/Kconfig"400400+401401+config DRM_HYPERV402402+ tristate "DRM Support for Hyper-V synthetic video device"403403+ depends on DRM && PCI && HYPERV_VMBUS404404+ select DRM_CLIENT_SELECTION405405+ select DRM_KMS_HELPER406406+ select DRM_GEM_SHMEM_HELPER407407+ help408408+ This is a KMS driver for Hyper-V synthetic video device. Choose this409409+ option if you would like to enable drm driver for Hyper-V virtual410410+ machine.411411+412412+ If M is selected the module will be called hyperv_drm.413413+268414# Separate option as not all DRM drivers use it269415config DRM_PANEL_BACKLIGHT_QUIRKS270416 tristate
+5-10
drivers/gpu/drm/hyperv/hyperv_drm_proto.c
···11// SPDX-License-Identifier: GPL-2.0-only22/*33 * Copyright 2021 Microsoft44- *55- * Portions of this code is derived from hyperv_fb.c64 */7586#include <linux/hyperv.h>···302304 * but the Hyper-V host still draws a point as an extra mouse pointer,303305 * which is unwanted, especially when Xorg is running.304306 *305305- * The hyperv_fb driver uses synthvid_send_ptr() to hide the unwanted306306- * pointer, by setting msg.ptr_pos.is_visible = 1 and setting the307307- * msg.ptr_shape.data. Note: setting msg.ptr_pos.is_visible to 0 doesn't307307+ * Hide the unwanted pointer, by setting msg.ptr_pos.is_visible = 1 and setting308308+ * the msg.ptr_shape.data. Note: setting msg.ptr_pos.is_visible to 0 doesn't308309 * work in tests.309310 *310310- * Copy synthvid_send_ptr() to hyperv_drm and rename it to311311- * hyperv_hide_hw_ptr(). Note: hyperv_hide_hw_ptr() is also called in the312312- * handler of the SYNTHVID_FEATURE_CHANGE event, otherwise the host still313313- * draws an extra unwanted mouse pointer after the VM Connection window is314314- * closed and reopened.311311+ * The hyperv_hide_hw_ptr() is also called in the handler of the312312+ * SYNTHVID_FEATURE_CHANGE event, otherwise the host still draws an extra313313+ * unwanted mouse pointer after the VM Connection window is closed and reopened.315314 */316315int hyperv_hide_hw_ptr(struct hv_device *hdev)317316{