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

Commit 83fc94fb authored by Abhinav Kumar's avatar Abhinav Kumar
Browse files

drm/msm: add HDMI support for DRM KMS driver



Add initial HDMI display driver support for SDE.
Support for configuring the HDMI TX controller
to specific resolutions. Add support for HDMI specific
ISR, uevent handling, basic debugfs support.
Add support for HDMI DRM specific calls for SDE driver.

Change-Id: I0cf7f4067e1a9b378632713b896798971971e5b9
Signed-off-by: default avatarAbhinav Kumar <abhinavk@codeaurora.org>
parent 6465ed1e
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -3,6 +3,7 @@ Qualcomm adreno/snapdragon hdmi output
Required properties:
Required properties:
- compatible: one of the following
- compatible: one of the following
   * "qcom,hdmi-tx-8996"
   * "qcom,hdmi-tx-8996"
   * "qcom,hdmi-tx-8998"
   * "qcom,hdmi-tx-8994"
   * "qcom,hdmi-tx-8994"
   * "qcom,hdmi-tx-8084"
   * "qcom,hdmi-tx-8084"
   * "qcom,hdmi-tx-8974"
   * "qcom,hdmi-tx-8974"
+6 −0
Original line number Original line Diff line number Diff line
@@ -88,3 +88,9 @@ config DRM_SDE_WB
	help
	help
	  Choose this option for writeback connector support.
	  Choose this option for writeback connector support.


config DRM_SDE_HDMI
	bool "Enable HDMI driver support in DRM SDE driver"
	depends on DRM_MSM
	default y
	help
	  Choose this option if HDMI connector support is needed in SDE driver.
+5 −0
Original line number Original line Diff line number Diff line
ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm -Idrivers/gpu/drm/msm/dsi-staging
ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm -Idrivers/gpu/drm/msm/dsi-staging
ccflags-y += -Idrivers/gpu/drm/msm/hdmi
ccflags-y += -Idrivers/gpu/drm/msm/hdmi-staging
ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi
ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi
ccflags-$(CONFIG_SYNC) += -Idrivers/staging/android
ccflags-$(CONFIG_SYNC) += -Idrivers/staging/android
ccflags-$(CONFIG_DRM_MSM_DSI_PLL) += -Idrivers/gpu/drm/msm/dsi
ccflags-$(CONFIG_DRM_MSM_DSI_PLL) += -Idrivers/gpu/drm/msm/dsi
@@ -90,6 +92,9 @@ msm_drm-$(CONFIG_DRM_MSM_DSI_STAGING) += dsi-staging/dsi_phy.o \
				dsi-staging/dsi_panel.o \
				dsi-staging/dsi_panel.o \
				dsi-staging/dsi_display_test.o
				dsi-staging/dsi_display_test.o


msm_drm-$(CONFIG_DRM_SDE_HDMI) += \
	hdmi-staging/sde_hdmi.o

msm_drm-$(CONFIG_DRM_MSM_DSI_PLL) += dsi/pll/dsi_pll.o \
msm_drm-$(CONFIG_DRM_MSM_DSI_PLL) += dsi/pll/dsi_pll.o \
				dsi/pll/dsi_pll_28nm.o
				dsi/pll/dsi_pll_28nm.o


+929 −0

File added.

Preview size limit exceeded, changes collapsed.

+296 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading