Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 822f9b4e authored by Camus Wong's avatar Camus Wong
Browse files

drm/msm-hyp: new virtual msm driver



This driver is enabled on hypervisor builds for the purpose of
creating a DRM device that DRM Master can open and listen on for
VBlank and Page Flip events.

Change-Id: Ib9b2df5ae0e2c33145663b3f515595e8f433a850
Signed-off-by: default avatarCamus Wong <camusw@codeaurora.org>
parent aaf4841e
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. SDE KMS HYP

Snapdragon Display Engine registers with the Linux DRM/KMS framework to
facilitate DRM driver creation, publishing /dev/dri/card0, and sending
VBlank and Page Flip events to User Space listeners.

Required properties
- compatible: Must be "qcom,sde-kms-hyp"

Example:
	sde_kms_hyp: qcom,sde_kms_hyp@900000 {
		compatible = "qcom,sde-kms-hyp";
	};
+2 −0
Original line number Diff line number Diff line
@@ -267,3 +267,5 @@ source "drivers/gpu/drm/amd/amdkfd/Kconfig"
source "drivers/gpu/drm/imx/Kconfig"

source "drivers/gpu/drm/vc4/Kconfig"

source "drivers/gpu/drm/msm-hyp/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ obj-$(CONFIG_DRM_QXL) += qxl/
obj-$(CONFIG_DRM_BOCHS) += bochs/
obj-$(CONFIG_DRM_VIRTIO_GPU) += virtio/
obj-$(CONFIG_DRM_MSM) += msm/
obj-$(CONFIG_DRM_MSM_HYP) += msm-hyp/
obj-$(CONFIG_DRM_TEGRA) += tegra/
obj-$(CONFIG_DRM_STI) += sti/
obj-$(CONFIG_DRM_IMX) += imx/
+15 −0
Original line number Diff line number Diff line
#
# Drm MSM hypervisor configuration
#
# This driver provides support for the User Space DRM Masters
#
config DRM_MSM_HYP
	tristate "MSM DRM HYP"
	depends on DRM
	depends on MSM_GVM_QUIN
	depends on OF
	default y
	help
	  DRM/KMS driver for MSM/snapdragon in Guest VM mode. This driver registers
	  with DRM framework to create /dev/dri/card0 path and issue events to User
	  Space listeners.
+4 −0
Original line number Diff line number Diff line
ccflags-y := -Iinclude/drm

obj-y := \
	msm_drv_hyp.o
Loading