[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3f68ee9d-13fd-4818-b6b4-b3c26bf998ed@linaro.org>
Date: Mon, 22 Jan 2024 15:13:26 +0000
From: Bryan O'Donoghue <bryan.odonoghue@...aro.org>
To: Konrad Dybcio <konrad.dybcio@...aro.org>,
Stanimir Varbanov <stanimir.k.varbanov@...il.com>,
Vikash Garodia <quic_vgarodia@...cinc.com>, Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>, Rob Herring
<robh+dt@...nel.org>, Krzysztof Kozlowski
<krzysztof.kozlowski+dt@...aro.org>, Conor Dooley <conor+dt@...nel.org>
Cc: Marijn Suijten <marijn.suijten@...ainline.org>,
Konrad Dybcio <konradybcio@...nel.org>, linux-media@...r.kernel.org,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 6/6] media: venus: core: Add SC8280XP resource struct
On 04/08/2023 21:09, Konrad Dybcio wrote:
> Add SC8280XP configuration data and related compatible.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@...aro.org>
> ---
> drivers/media/platform/qcom/venus/core.c | 45 ++++++++++++++++++++++++++++++++
> 1 file changed, 45 insertions(+)
>
> diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c
> index 5f285ae75e9d..32591b624a36 100644
> --- a/drivers/media/platform/qcom/venus/core.c
> +++ b/drivers/media/platform/qcom/venus/core.c
Reviewing this series, I think my input here has not been helpful or
correct.
1. Declaring encoders/decoders in dts or yaml is wrong, accepted.
2. We can make a platform choice to hard-code that here in the
platform declarations.
3. Remove the requirement from yaml for sc8280xp to declare decoder
encoder
3. Profit.
Existing dtb all, literally all do the same thing first block decoder,
second block encoder.
Rather than perform extensive surgery to venus to remediate the original
yaml sin - hard-code decoder/encoder into platform code and deprecate
the legacy over time.
Yes that means fixing to block 0 as decoder and block 1 as encoder but
that is the defacto situation we have now, we may as well make it dejure.
---
bod
Powered by blists - more mailing lists