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(+)
--
2.35.1
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.
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Tested-by: "kernelci.org bot" <[email protected]>
[rebased and fixed conflicts]
Signed-off-by: Nícolas F. R. A. Prado <[email protected]>
---
Changes in v2:
- Rebased and fixed conflicts
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index dbdb634a3d4c..49c9cfd3a3cb 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -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
--
2.35.1