Skip to contentSkip to conversation

arm64: defconfig: Enable multimedia clocks on SC7180

PATCH New Nícolas F. R. A. Prado 1 participant 3 messages Feb 1, 2022

lore
Share & tools
lore
#0 lore raw

v2 cover arm64: defconfig: Enable multimedia clocks on SC7180

Device trees for SC7180 Trogdor machines are enabling DPU1 and Venus, but these are never getting up due to missing clock drivers; after a test, it was discovered that both of them are fairly ok, except for the Venus encoder, which doesn't seem to work fine, but it's anyway not introducing any unstability (the device won't crash), so there is no reason to keep them out of the game.

Since both of these clock drivers aren't boot-critical and can be inserted later, it's proposed to enable them as module: this will avoid increasing the kernel image size, which is especially important to keep lower loading times (from the bootloader).

v1: https://lore.kernel.org/lkml/[email protected]/

Changes in v2:
- Rebased and fixed conflicts

AngeloGioacchino Del Regno (2):
arm64: defconfig: Add SC7180 GPUCC and DISPCC as module
arm64: defconfig: Add SC7180 VIDEOCC as module

 arch/arm64/configs/defconfig | 3 +++
 1 file changed, 3 insertions(+)
Signature · 1 line
2.35.1
#1 lore raw

PATCH v2 1/2 arm64: defconfig: Add SC7180 GPUCC and DISPCC as module

From: AngeloGioacchino Del Regno <[email protected]>

SC_DISPCC_7180 and SC_GPUCC_7180 are not boot-critical clock controller drivers, but these are required in order to get DPU1/display support (so, to allow probing DRM_MSM) and Adreno GPU support, which are modules as well.

This is being done as there are SC7180 device trees enabling support for this hardware, but not being probed due to these drivers not being built.

---

Changes in v2:
- Rebased and fixed conflicts

 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index 68913a575784..dbdb634a3d4c 100644
@@ -1003,7 +1003,9 @@ CONFIG_MSM_GCC_8994=y
 CONFIG_MSM_MMCC_8996=y
 CONFIG_MSM_GCC_8998=y
 CONFIG_QCS_GCC_404=y
+CONFIG_SC_DISPCC_7180=m
 CONFIG_SC_GCC_7180=y
+CONFIG_SC_GPUCC_7180=m
 CONFIG_SC_GCC_7280=y
 CONFIG_SDM_CAMCC_845=m
 CONFIG_SDM_GCC_845=y
Signature · 1 line
2.35.1
#2 lore raw

PATCH v2 2/2 arm64: defconfig: Add SC7180 VIDEOCC as module

In reply to Nícolas F. R. A. Prado

From: AngeloGioacchino Del Regno <[email protected]>

This is required in order to be able to probe the Venus hardware video decoder/encoder driver on the SC7180 SoC: being this driver not boot-critical, it's sufficient to have it as a module.

This is being done as there are SC7180 device trees enabling support for this hardware, but not being probed due to these drivers not being built.

---

Changes in v2:
- Rebased and fixed conflicts

 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index dbdb634a3d4c..49c9cfd3a3cb 100644
@@ -1006,6 +1006,7 @@ CONFIG_QCS_GCC_404=y
 CONFIG_SC_DISPCC_7180=m
 CONFIG_SC_GCC_7180=y
 CONFIG_SC_GPUCC_7180=m
+CONFIG_SC_VIDEOCC_7180=m
 CONFIG_SC_GCC_7280=y
 CONFIG_SDM_CAMCC_845=m
 CONFIG_SDM_GCC_845=y
Signature · 1 line
2.35.1