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

Commit e221b759 authored by Camus Wong's avatar Camus Wong
Browse files

drm/msm-hyp: virtual msm display 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: Ib93a1534a256e16f621ef528792633726e0e6846
Signed-off-by: default avatarCamus Wong <camusw@codeaurora.org>
parent f43dabe3
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. SDE KMS HYP

Snapdragon Display Engine HYP 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"

Optional properties:
- qcom,client-id:	A four character string that is converted to a u32. It's
			understood as a hex value, if compatible (i.e. "7816").
			Otherwise, it is treated as a FourCC sequence code
			(i.e. "LV01").

Example:
	sde_kms_hyp: qcom,sde_kms_hyp@900000 {
		compatible = "qcom,sde-kms-hyp";
		qcom,client-id = "7816";
	};
+2 −0
Original line number Diff line number Diff line
@@ -243,6 +243,8 @@ source "drivers/gpu/drm/virtio/Kconfig"

source "drivers/gpu/drm/msm/Kconfig"

source "drivers/gpu/drm/msm-hyp/Kconfig"

source "drivers/gpu/drm/fsl-dcu/Kconfig"

source "drivers/gpu/drm/tegra/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -84,6 +84,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_STM) += stm/
obj-$(CONFIG_DRM_STI) += sti/
+16 −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
	depends on OF
	select SYNC_FILE
	select SW_SYNC
	help
	  DRM/KMS HYP 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