mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arm64: defconfig: Enable multimedia clocks on SC7180
@ 2022-02-01 20:05 Nícolas F. R. A. Prado
  2022-02-01 20:05 ` [PATCH v2 1/2] arm64: defconfig: Add SC7180 GPUCC and DISPCC as module Nícolas F. R. A. Prado
  2022-02-01 20:05 ` [PATCH v2 2/2] arm64: defconfig: Add SC7180 VIDEOCC " Nícolas F. R. A. Prado
  0 siblings, 2 replies; 3+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-02-01 20:05 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: kernel, Nícolas F. R. A. Prado, Adam Ford, Alexander Stein,
	AngeloGioacchino Del Regno, Biju Das, Catalin Marinas,
	Fabio Estevam, Geert Uytterhoeven, Krzysztof Kozlowski,
	Nobuhiro Iwamatsu, Sameer Pujar, Saravana Kannan, Shawn Guo,
	Will Deacon, Zenghui Yu, linux-arm-kernel, linux-kernel

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/20211013105613.250450-1-angelogioacchino.delregno@collabora.com/

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2 1/2] arm64: defconfig: Add SC7180 GPUCC and DISPCC as module
  2022-02-01 20:05 [PATCH v2 0/2] arm64: defconfig: Enable multimedia clocks on SC7180 Nícolas F. R. A. Prado
@ 2022-02-01 20:05 ` Nícolas F. R. A. Prado
  2022-02-01 20:05 ` [PATCH v2 2/2] arm64: defconfig: Add SC7180 VIDEOCC " Nícolas F. R. A. Prado
  1 sibling, 0 replies; 3+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-02-01 20:05 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: kernel, AngeloGioacchino Del Regno,
	Nícolas F . R . A . Prado, Adam Ford, Alexander Stein,
	Biju Das, Catalin Marinas, Geert Uytterhoeven,
	Krzysztof Kozlowski, Nobuhiro Iwamatsu, Sameer Pujar,
	Saravana Kannan, Shawn Guo, Will Deacon, Zenghui Yu,
	linux-arm-kernel, linux-kernel

From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

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.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: "kernelci.org bot" <bot@kernelci.org>
[rebased and fixed conflicts]
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

---

Changes in v2:
- Rebased and fixed conflicts

 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 68913a575784..dbdb634a3d4c 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -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
-- 
2.35.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2 2/2] arm64: defconfig: Add SC7180 VIDEOCC as module
  2022-02-01 20:05 [PATCH v2 0/2] arm64: defconfig: Enable multimedia clocks on SC7180 Nícolas F. R. A. Prado
  2022-02-01 20:05 ` [PATCH v2 1/2] arm64: defconfig: Add SC7180 GPUCC and DISPCC as module Nícolas F. R. A. Prado
@ 2022-02-01 20:05 ` Nícolas F. R. A. Prado
  1 sibling, 0 replies; 3+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-02-01 20:05 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: kernel, AngeloGioacchino Del Regno,
	Nícolas F . R . A . Prado, Alexander Stein, Biju Das,
	Catalin Marinas, Fabio Estevam, Geert Uytterhoeven,
	Krzysztof Kozlowski, Nobuhiro Iwamatsu, Sameer Pujar,
	Saravana Kannan, Shawn Guo, Will Deacon, Zenghui Yu,
	linux-arm-kernel, linux-kernel

From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

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 <angelogioacchino.delregno@collabora.com>
Tested-by: "kernelci.org bot" <bot@kernelci.org>
[rebased and fixed conflicts]
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

---

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-01 20:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-01 20:05 [PATCH v2 0/2] arm64: defconfig: Enable multimedia clocks on SC7180 Nícolas F. R. A. Prado
2022-02-01 20:05 ` [PATCH v2 1/2] arm64: defconfig: Add SC7180 GPUCC and DISPCC as module Nícolas F. R. A. Prado
2022-02-01 20:05 ` [PATCH v2 2/2] arm64: defconfig: Add SC7180 VIDEOCC " Nícolas F. R. A. Prado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®