Skip to contentSkip to conversation

arm64: defconfig: Enable configs for DisplayPort on J721e

PATCH Superseded Rahul T R 3 participants 6 messages Feb 22, 2022 – Feb 23, 2022

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Rahul T R

author
#0 lore raw

PATCH 1/1 arm64: defconfig: Enable configs for DisplayPort on J721e

Enable DRM and PHY configs required for supporting DisplayPort on J721e

---
 arch/arm64/configs/defconfig | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/configs/defconfig +5 -0
index 9f23d7ec1232..b0cb894a392e 100644
@@ -702,6 +702,9 @@ CONFIG_DRM_EXYNOS_DSI=y
 CONFIG_DRM_EXYNOS_HDMI=y
 CONFIG_DRM_EXYNOS_MIC=y
 CONFIG_DRM_ROCKCHIP=m
+CONFIG_DRM_TIDSS=m
+CONFIG_DRM_DISPLAY_CONNECTOR=m
+CONFIG_DRM_CDNS_MHDP8546=m
 CONFIG_ROCKCHIP_ANALOGIX_DP=y
 CONFIG_ROCKCHIP_CDN_DP=y
 CONFIG_ROCKCHIP_DW_HDMI=y
@@ -1175,6 +1178,8 @@ CONFIG_PHY_SAMSUNG_UFS=y
 CONFIG_PHY_UNIPHIER_USB2=y
 CONFIG_PHY_UNIPHIER_USB3=y
 CONFIG_PHY_TEGRA_XUSB=y
+CONFIG_PHY_J721E_WIZ=m
+CONFIG_PHY_CADENCE_TORRENT=m
 CONFIG_ARM_SMMU_V3_PMU=m
 CONFIG_FSL_IMX8_DDR_PMU=m
 CONFIG_QCOM_L2_PMU=y
Signature · 1 line
2.17.1
#1 lore raw
Quoted 13 lines · Rahul T R

Enable DRM and PHY configs required for supporting DisplayPort on J721e

---
 arch/arm64/configs/defconfig | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/configs/defconfig +0 -0
index 9f23d7ec1232..b0cb894a392e 100644

arch/arm64/configs/defconfig CONFIG_DRM_EXYNOS_DSI=y · line 707

Quoted 6 lines
arch/arm64/configs/defconfig +3 -0
@@ -702,6 +702,9 @@ CONFIG_DRM_EXYNOS_DSI=y
 CONFIG_DRM_EXYNOS_HDMI=y
 CONFIG_DRM_EXYNOS_MIC=y
 CONFIG_DRM_ROCKCHIP=m
+CONFIG_DRM_TIDSS=m
+CONFIG_DRM_DISPLAY_CONNECTOR=m
+CONFIG_DRM_CDNS_MHDP8546=m

Please use savedefconfig to place the changes in the correct location

Also indicate changes if any in vmlinux in commit message.

A bootlog indicating functionality in diffstat is also additional good thing to do.

Quoted 15 lines
arch/arm64/configs/defconfig +2 -0
 CONFIG_ROCKCHIP_ANALOGIX_DP=y
 CONFIG_ROCKCHIP_CDN_DP=y
 CONFIG_ROCKCHIP_DW_HDMI=y
@@ -1175,6 +1178,8 @@ CONFIG_PHY_SAMSUNG_UFS=y
 CONFIG_PHY_UNIPHIER_USB2=y
 CONFIG_PHY_UNIPHIER_USB3=y
 CONFIG_PHY_TEGRA_XUSB=y
+CONFIG_PHY_J721E_WIZ=m
+CONFIG_PHY_CADENCE_TORRENT=m
 CONFIG_ARM_SMMU_V3_PMU=m
 CONFIG_FSL_IMX8_DDR_PMU=m
 CONFIG_QCOM_L2_PMU=y
Signature · 1 line
2.17.1
Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
#2 lore raw
Quoted 9 lines · Nishanth Menon
Quoted 8 lines · Rahul T R

Enable DRM and PHY configs required for supporting DisplayPort on J721e

---
 arch/arm64/configs/defconfig | 5 +++++
 1 file changed, 5 insertions(+)
Quoted 14 lines

arch/arm64/configs/defconfig CONFIG_DRM_EXYNOS_DSI=y · line 707

Quoted 11 lines
arch/arm64/configs/defconfig +3 -0
index 9f23d7ec1232..b0cb894a392e 100644
@@ -702,6 +702,9 @@ CONFIG_DRM_EXYNOS_DSI=y
 CONFIG_DRM_EXYNOS_HDMI=y
 CONFIG_DRM_EXYNOS_MIC=y
 CONFIG_DRM_ROCKCHIP=m
+CONFIG_DRM_TIDSS=m
+CONFIG_DRM_DISPLAY_CONNECTOR=m
+CONFIG_DRM_CDNS_MHDP8546=m

Please use savedefconfig to place the changes in the correct location

Just to clarify the request, use "make savedefconfig" to generate a defconfig, then based on that put _only_ the relevant changes in the commit.

Quoted 2 lines

Also indicate changes if any in vmlinux in commit message.

Nishanth, what are you asking for here? Just a mentioning if this has any impact to vmlinux (or is isolated to the modules selected), or are you asking for anything specific?

Regards,
Bjorn

Quoted 23 lines

A bootlog indicating functionality in diffstat is also additional good thing to do.

Quoted 15 lines
arch/arm64/configs/defconfig +2 -0
 CONFIG_ROCKCHIP_ANALOGIX_DP=y
 CONFIG_ROCKCHIP_CDN_DP=y
 CONFIG_ROCKCHIP_DW_HDMI=y
@@ -1175,6 +1178,8 @@ CONFIG_PHY_SAMSUNG_UFS=y
 CONFIG_PHY_UNIPHIER_USB2=y
 CONFIG_PHY_UNIPHIER_USB3=y
 CONFIG_PHY_TEGRA_XUSB=y
+CONFIG_PHY_J721E_WIZ=m
+CONFIG_PHY_CADENCE_TORRENT=m
 CONFIG_ARM_SMMU_V3_PMU=m
 CONFIG_FSL_IMX8_DDR_PMU=m
 CONFIG_QCOM_L2_PMU=y
Signature · 1 line
2.17.1
Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
#3 lore raw
Quoted 26 lines · Bjorn Andersson
Quoted 9 lines · Nishanth Menon
Quoted 8 lines · Rahul T R

Enable DRM and PHY configs required for supporting DisplayPort on J721e

---
 arch/arm64/configs/defconfig | 5 +++++
 1 file changed, 5 insertions(+)
Quoted 14 lines

arch/arm64/configs/defconfig CONFIG_DRM_EXYNOS_DSI=y · line 707

Quoted 11 lines
arch/arm64/configs/defconfig +3 -0
index 9f23d7ec1232..b0cb894a392e 100644
@@ -702,6 +702,9 @@ CONFIG_DRM_EXYNOS_DSI=y
 CONFIG_DRM_EXYNOS_HDMI=y
 CONFIG_DRM_EXYNOS_MIC=y
 CONFIG_DRM_ROCKCHIP=m
+CONFIG_DRM_TIDSS=m
+CONFIG_DRM_DISPLAY_CONNECTOR=m
+CONFIG_DRM_CDNS_MHDP8546=m

Please use savedefconfig to place the changes in the correct location

Quoted 3 lines

Just to clarify the request, use "make savedefconfig" to generate a defconfig, then based on that put _only_ the relevant changes in the commit.

Yup, thanks for clarifying.

Quoted 7 lines
Quoted 3 lines

Also indicate changes if any in vmlinux in commit message.

Nishanth, what are you asking for here? Just a mentioning if this has any impact to vmlinux (or is isolated to the modules selected), or are you asking for anything specific?

In this case, just ensure to state that vmlinux size has'nt changed, in case where we see a =y, we should indicate via ./scripts/bloat-o-meter change that is introduced and if yes, we should explain why this is fundamental to system boot.

Why is this necessary? This is to prevent product specific configurations (such as early display banner, chime etc) from creeping and increasing vmlinux size which has an impact for all ARM SoCs.

[...]

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
#4 lore raw
Quoted 40 lines · Nishanth Menon
Quoted 26 lines · Bjorn Andersson
Quoted 9 lines · Nishanth Menon
Quoted 8 lines · Rahul T R

Enable DRM and PHY configs required for supporting DisplayPort on J721e

---
 arch/arm64/configs/defconfig | 5 +++++
 1 file changed, 5 insertions(+)
Quoted 14 lines

arch/arm64/configs/defconfig CONFIG_DRM_EXYNOS_DSI=y · line 707

Quoted 11 lines
arch/arm64/configs/defconfig +3 -0
index 9f23d7ec1232..b0cb894a392e 100644
@@ -702,6 +702,9 @@ CONFIG_DRM_EXYNOS_DSI=y
 CONFIG_DRM_EXYNOS_HDMI=y
 CONFIG_DRM_EXYNOS_MIC=y
 CONFIG_DRM_ROCKCHIP=m
+CONFIG_DRM_TIDSS=m
+CONFIG_DRM_DISPLAY_CONNECTOR=m
+CONFIG_DRM_CDNS_MHDP8546=m

Please use savedefconfig to place the changes in the correct location

Quoted 3 lines

Just to clarify the request, use "make savedefconfig" to generate a defconfig, then based on that put _only_ the relevant changes in the commit.

Yup, thanks for clarifying.

Quoted 7 lines
Quoted 3 lines

Also indicate changes if any in vmlinux in commit message.

Nishanth, what are you asking for here? Just a mentioning if this has any impact to vmlinux (or is isolated to the modules selected), or are you asking for anything specific?

Quoted 9 lines

In this case, just ensure to state that vmlinux size has'nt changed, in case where we see a =y, we should indicate via ./scripts/bloat-o-meter change that is introduced and if yes, we should explain why this is fundamental to system boot.

Why is this necessary? This is to prevent product specific configurations (such as early display banner, chime etc) from creeping and increasing vmlinux size which has an impact for all ARM SoCs.

Sounds very reasonable, I'll make sure to ask for such motivations in the defconfig changes that I pick up through the Qualcomm tree as well.

Regards,
Bjorn

Quoted 7 lines

[...]

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
author
#5 lore raw
Quoted 52 lines · Bjorn Andersson
Quoted 40 lines · Nishanth Menon
Quoted 26 lines · Bjorn Andersson
Quoted 9 lines · Nishanth Menon
Quoted 8 lines · Rahul T R

Enable DRM and PHY configs required for supporting DisplayPort on J721e

---
 arch/arm64/configs/defconfig | 5 +++++
 1 file changed, 5 insertions(+)
Quoted 14 lines

arch/arm64/configs/defconfig CONFIG_DRM_EXYNOS_DSI=y · line 707

Quoted 11 lines
arch/arm64/configs/defconfig +3 -0
index 9f23d7ec1232..b0cb894a392e 100644
@@ -702,6 +702,9 @@ CONFIG_DRM_EXYNOS_DSI=y
 CONFIG_DRM_EXYNOS_HDMI=y
 CONFIG_DRM_EXYNOS_MIC=y
 CONFIG_DRM_ROCKCHIP=m
+CONFIG_DRM_TIDSS=m
+CONFIG_DRM_DISPLAY_CONNECTOR=m
+CONFIG_DRM_CDNS_MHDP8546=m

Please use savedefconfig to place the changes in the correct location

Quoted 3 lines

Just to clarify the request, use "make savedefconfig" to generate a defconfig, then based on that put _only_ the relevant changes in the commit.

Yup, thanks for clarifying.

Quoted 7 lines
Quoted 3 lines

Also indicate changes if any in vmlinux in commit message.

Nishanth, what are you asking for here? Just a mentioning if this has any impact to vmlinux (or is isolated to the modules selected), or are you asking for anything specific?

Quoted 9 lines

In this case, just ensure to state that vmlinux size has'nt changed, in case where we see a =y, we should indicate via ./scripts/bloat-o-meter change that is introduced and if yes, we should explain why this is fundamental to system boot.

Why is this necessary? This is to prevent product specific configurations (such as early display banner, chime etc) from creeping and increasing vmlinux size which has an impact for all ARM SoCs.

Quoted 6 lines

Sounds very reasonable, I'll make sure to ask for such motivations in the defconfig changes that I pick up through the Qualcomm tree as well.

Regards,
Bjorn

Thanks for the review!
I will send a v2 with the fixes

Regards
Rahul T R

Quoted 7 lines
Quoted 7 lines

[...]

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D