All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: defconfig: Enable multimedia clocks on SC7180
@ 2021-10-13 10:56 ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2021-10-13 10:56 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: catalin.marinas, will, shawnguo, bjorn.andersson, krzk,
	geert+renesas, vkoul, jagan, agx, biju.das.jz, enric.balletbo,
	aford173, nm, andrey.zhizhikin, saravanak, linux-kernel,
	konrad.dybcio, marijn.suijten, martin.botka,
	AngeloGioacchino Del Regno

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).

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.33.0


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

* [PATCH 0/2] arm64: defconfig: Enable multimedia clocks on SC7180
@ 2021-10-13 10:56 ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2021-10-13 10:56 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: catalin.marinas, will, shawnguo, bjorn.andersson, krzk,
	geert+renesas, vkoul, jagan, agx, biju.das.jz, enric.balletbo,
	aford173, nm, andrey.zhizhikin, saravanak, linux-kernel,
	konrad.dybcio, marijn.suijten, martin.botka,
	AngeloGioacchino Del Regno

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).

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.33.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 1/2] arm64: defconfig: Add SC7180 GPUCC and DISPCC as module
  2021-10-13 10:56 ` AngeloGioacchino Del Regno
@ 2021-10-13 10:56   ` AngeloGioacchino Del Regno
  -1 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2021-10-13 10:56 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: catalin.marinas, will, shawnguo, bjorn.andersson, krzk,
	geert+renesas, vkoul, jagan, agx, biju.das.jz, enric.balletbo,
	aford173, nm, andrey.zhizhikin, saravanak, linux-kernel,
	konrad.dybcio, marijn.suijten, martin.botka,
	AngeloGioacchino Del Regno

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>
---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 171848ace3ac..bb97baa5f1d8 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -992,7 +992,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_SDM_CAMCC_845=m
 CONFIG_SDM_GCC_845=y
 CONFIG_SDM_GPUCC_845=y
-- 
2.33.0


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

* [PATCH 1/2] arm64: defconfig: Add SC7180 GPUCC and DISPCC as module
@ 2021-10-13 10:56   ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2021-10-13 10:56 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: catalin.marinas, will, shawnguo, bjorn.andersson, krzk,
	geert+renesas, vkoul, jagan, agx, biju.das.jz, enric.balletbo,
	aford173, nm, andrey.zhizhikin, saravanak, linux-kernel,
	konrad.dybcio, marijn.suijten, martin.botka,
	AngeloGioacchino Del Regno

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>
---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 171848ace3ac..bb97baa5f1d8 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -992,7 +992,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_SDM_CAMCC_845=m
 CONFIG_SDM_GCC_845=y
 CONFIG_SDM_GPUCC_845=y
-- 
2.33.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 2/2] arm64: defconfig: Add SC7180 VIDEOCC as module
  2021-10-13 10:56 ` AngeloGioacchino Del Regno
@ 2021-10-13 10:56   ` AngeloGioacchino Del Regno
  -1 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2021-10-13 10:56 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: catalin.marinas, will, shawnguo, bjorn.andersson, krzk,
	geert+renesas, vkoul, jagan, agx, biju.das.jz, enric.balletbo,
	aford173, nm, andrey.zhizhikin, saravanak, linux-kernel,
	konrad.dybcio, marijn.suijten, martin.botka,
	AngeloGioacchino Del Regno

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>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index bb97baa5f1d8..c20885f6d9bf 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -995,6 +995,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_SDM_CAMCC_845=m
 CONFIG_SDM_GCC_845=y
 CONFIG_SDM_GPUCC_845=y
-- 
2.33.0


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

* [PATCH 2/2] arm64: defconfig: Add SC7180 VIDEOCC as module
@ 2021-10-13 10:56   ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 10+ messages in thread
From: AngeloGioacchino Del Regno @ 2021-10-13 10:56 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: catalin.marinas, will, shawnguo, bjorn.andersson, krzk,
	geert+renesas, vkoul, jagan, agx, biju.das.jz, enric.balletbo,
	aford173, nm, andrey.zhizhikin, saravanak, linux-kernel,
	konrad.dybcio, marijn.suijten, martin.botka,
	AngeloGioacchino Del Regno

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>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index bb97baa5f1d8..c20885f6d9bf 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -995,6 +995,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_SDM_CAMCC_845=m
 CONFIG_SDM_GCC_845=y
 CONFIG_SDM_GPUCC_845=y
-- 
2.33.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/2] arm64: defconfig: Add SC7180 GPUCC and DISPCC as module
  2021-10-13 10:56   ` AngeloGioacchino Del Regno
@ 2021-10-29  8:31     ` Guillaume Tucker
  -1 siblings, 0 replies; 10+ messages in thread
From: Guillaume Tucker @ 2021-10-29  8:31 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, linux-arm-kernel
  Cc: catalin.marinas, will, shawnguo, bjorn.andersson, krzk,
	geert+renesas, vkoul, jagan, agx, biju.das.jz, aford173, nm,
	andrey.zhizhikin, saravanak, linux-kernel, konrad.dybcio,
	marijn.suijten, martin.botka, Collabora Kernel ML, kernelci

On 13/10/2021 11:56, AngeloGioacchino Del Regno wrote:
> 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>

https://staging.kernelci.org/test/plan/id/6177be0c2554c2fd1ba6c464/

Thanks,
Guillaume

> ---
>  arch/arm64/configs/defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 171848ace3ac..bb97baa5f1d8 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -992,7 +992,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_SDM_CAMCC_845=m
>  CONFIG_SDM_GCC_845=y
>  CONFIG_SDM_GPUCC_845=y
> 


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

* Re: [PATCH 1/2] arm64: defconfig: Add SC7180 GPUCC and DISPCC as module
@ 2021-10-29  8:31     ` Guillaume Tucker
  0 siblings, 0 replies; 10+ messages in thread
From: Guillaume Tucker @ 2021-10-29  8:31 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, linux-arm-kernel
  Cc: catalin.marinas, will, shawnguo, bjorn.andersson, krzk,
	geert+renesas, vkoul, jagan, agx, biju.das.jz, aford173, nm,
	andrey.zhizhikin, saravanak, linux-kernel, konrad.dybcio,
	marijn.suijten, martin.botka, Collabora Kernel ML, kernelci

On 13/10/2021 11:56, AngeloGioacchino Del Regno wrote:
> 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>

https://staging.kernelci.org/test/plan/id/6177be0c2554c2fd1ba6c464/

Thanks,
Guillaume

> ---
>  arch/arm64/configs/defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 171848ace3ac..bb97baa5f1d8 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -992,7 +992,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_SDM_CAMCC_845=m
>  CONFIG_SDM_GCC_845=y
>  CONFIG_SDM_GPUCC_845=y
> 


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 2/2] arm64: defconfig: Add SC7180 VIDEOCC as module
  2021-10-13 10:56   ` AngeloGioacchino Del Regno
@ 2021-10-29  8:32     ` Guillaume Tucker
  -1 siblings, 0 replies; 10+ messages in thread
From: Guillaume Tucker @ 2021-10-29  8:32 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, linux-arm-kernel
  Cc: catalin.marinas, will, shawnguo, bjorn.andersson, krzk,
	geert+renesas, vkoul, jagan, agx, biju.das.jz, aford173, nm,
	andrey.zhizhikin, saravanak, linux-kernel, konrad.dybcio,
	marijn.suijten, martin.botka, Collabora Kernel ML, kernelci

On 13/10/2021 11:56, AngeloGioacchino Del Regno wrote:
> 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>

https://staging.kernelci.org/test/plan/id/6177be0c2554c2fd1ba6c464/

Thanks,
Guillaume

> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index bb97baa5f1d8..c20885f6d9bf 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -995,6 +995,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_SDM_CAMCC_845=m
>  CONFIG_SDM_GCC_845=y
>  CONFIG_SDM_GPUCC_845=y
> 


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

* Re: [PATCH 2/2] arm64: defconfig: Add SC7180 VIDEOCC as module
@ 2021-10-29  8:32     ` Guillaume Tucker
  0 siblings, 0 replies; 10+ messages in thread
From: Guillaume Tucker @ 2021-10-29  8:32 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, linux-arm-kernel
  Cc: catalin.marinas, will, shawnguo, bjorn.andersson, krzk,
	geert+renesas, vkoul, jagan, agx, biju.das.jz, aford173, nm,
	andrey.zhizhikin, saravanak, linux-kernel, konrad.dybcio,
	marijn.suijten, martin.botka, Collabora Kernel ML, kernelci

On 13/10/2021 11:56, AngeloGioacchino Del Regno wrote:
> 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>

https://staging.kernelci.org/test/plan/id/6177be0c2554c2fd1ba6c464/

Thanks,
Guillaume

> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index bb97baa5f1d8..c20885f6d9bf 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -995,6 +995,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_SDM_CAMCC_845=m
>  CONFIG_SDM_GCC_845=y
>  CONFIG_SDM_GPUCC_845=y
> 


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-10-29  8:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 10:56 [PATCH 0/2] arm64: defconfig: Enable multimedia clocks on SC7180 AngeloGioacchino Del Regno
2021-10-13 10:56 ` AngeloGioacchino Del Regno
2021-10-13 10:56 ` [PATCH 1/2] arm64: defconfig: Add SC7180 GPUCC and DISPCC as module AngeloGioacchino Del Regno
2021-10-13 10:56   ` AngeloGioacchino Del Regno
2021-10-29  8:31   ` Guillaume Tucker
2021-10-29  8:31     ` Guillaume Tucker
2021-10-13 10:56 ` [PATCH 2/2] arm64: defconfig: Add SC7180 VIDEOCC " AngeloGioacchino Del Regno
2021-10-13 10:56   ` AngeloGioacchino Del Regno
2021-10-29  8:32   ` Guillaume Tucker
2021-10-29  8:32     ` Guillaume Tucker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.