.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | |
---|
2 | 3 | config DRM_MSM |
---|
3 | 4 | tristate "MSM DRM" |
---|
4 | 5 | depends on DRM |
---|
5 | | - depends on ARCH_QCOM || (ARM && COMPILE_TEST) |
---|
| 6 | + depends on ARCH_QCOM || SOC_IMX5 || (ARM && COMPILE_TEST) |
---|
| 7 | + depends on IOMMU_SUPPORT |
---|
6 | 8 | depends on OF && COMMON_CLK |
---|
7 | | - depends on MMU |
---|
| 9 | + depends on QCOM_OCMEM || QCOM_OCMEM=n |
---|
| 10 | + select IOMMU_IO_PGTABLE |
---|
8 | 11 | select QCOM_MDT_LOADER if ARCH_QCOM |
---|
9 | 12 | select REGULATOR |
---|
10 | 13 | select DRM_KMS_HELPER |
---|
11 | 14 | select DRM_PANEL |
---|
12 | 15 | select SHMEM |
---|
13 | 16 | select TMPFS |
---|
14 | | - select QCOM_SCM |
---|
| 17 | + select QCOM_SCM if ARCH_QCOM |
---|
15 | 18 | select QCOM_COMMAND_DB if ARCH_QCOM |
---|
16 | 19 | select WANT_DEV_COREDUMP |
---|
17 | 20 | select SND_SOC_HDMI_CODEC if SND_SOC |
---|
.. | .. |
---|
19 | 22 | select PM_OPP |
---|
20 | 23 | help |
---|
21 | 24 | DRM/KMS driver for MSM/snapdragon. |
---|
| 25 | + |
---|
| 26 | +config DRM_MSM_GPU_STATE |
---|
| 27 | + bool |
---|
| 28 | + depends on DRM_MSM && (DEBUG_FS || DEV_COREDUMP) |
---|
| 29 | + default y |
---|
22 | 30 | |
---|
23 | 31 | config DRM_MSM_REGISTER_LOGGING |
---|
24 | 32 | bool "MSM DRM register logging" |
---|
.. | .. |
---|
48 | 56 | default y |
---|
49 | 57 | help |
---|
50 | 58 | Choose this option to enable HDCP state machine |
---|
| 59 | + |
---|
| 60 | +config DRM_MSM_DP |
---|
| 61 | + bool "Enable DisplayPort support in MSM DRM driver" |
---|
| 62 | + depends on DRM_MSM |
---|
| 63 | + select RATIONAL |
---|
| 64 | + default y |
---|
| 65 | + help |
---|
| 66 | + Compile in support for DP driver in MSM DRM driver. DP external |
---|
| 67 | + display support is enabled through this config option. It can |
---|
| 68 | + be primary or secondary display on device. |
---|
51 | 69 | |
---|
52 | 70 | config DRM_MSM_DSI |
---|
53 | 71 | bool "Enable DSI support in MSM DRM driver" |
---|
.. | .. |
---|
102 | 120 | default y |
---|
103 | 121 | help |
---|
104 | 122 | Choose this option if DSI PHY on SDM845 is used on the platform. |
---|
| 123 | + |
---|
| 124 | +config DRM_MSM_DSI_7NM_PHY |
---|
| 125 | + bool "Enable DSI 7nm PHY driver in MSM DRM (used by SM8150/SM8250)" |
---|
| 126 | + depends on DRM_MSM_DSI |
---|
| 127 | + default y |
---|
| 128 | + help |
---|
| 129 | + Choose this option if DSI PHY on SM8150/SM8250 is used on the |
---|
| 130 | + platform. |
---|