All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] media: venus: core: fix max load for msm8996 and sdm845
@ 2019-02-26  8:17 Alexandre Courbot
  2019-02-26  8:56 ` Stanimir Varbanov
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Courbot @ 2019-02-26  8:17 UTC (permalink / raw)
  To: Stanimir Varbanov, Mauro Carvalho Chehab, linux-media
  Cc: linux-kernel, Alexandre Courbot

Patch commit de5a0bafcfc4 ("media: venus: core: correct maximum hardware
load for sdm845") meant to increase the maximum hardware load for sdm845,
but ended up changing the one for msm8996 instead.

Fixes: de5a0bafcfc4 ("media: venus: core: correct maximum hardware load for sdm845")

Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
---
 drivers/media/platform/qcom/venus/core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c
index 739366744e0f..435c7b68bbed 100644
--- a/drivers/media/platform/qcom/venus/core.c
+++ b/drivers/media/platform/qcom/venus/core.c
@@ -455,7 +455,7 @@ static const struct venus_resources msm8996_res = {
 	.reg_tbl_size = ARRAY_SIZE(msm8996_reg_preset),
 	.clks = {"core", "iface", "bus", "mbus" },
 	.clks_num = 4,
-	.max_load = 3110400,	/* 4096x2160@90 */
+	.max_load = 2563200,
 	.hfi_version = HFI_VERSION_3XX,
 	.vmem_id = VIDC_RESOURCE_NONE,
 	.vmem_size = 0,
@@ -478,7 +478,7 @@ static const struct venus_resources sdm845_res = {
 	.freq_tbl_size = ARRAY_SIZE(sdm845_freq_table),
 	.clks = {"core", "iface", "bus" },
 	.clks_num = 3,
-	.max_load = 2563200,
+	.max_load = 3110400,	/* 4096x2160@90 */
 	.hfi_version = HFI_VERSION_4XX,
 	.vmem_id = VIDC_RESOURCE_NONE,
 	.vmem_size = 0,
-- 
2.21.0.rc2.261.ga7da99ff1b-goog


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

* Re: [PATCH] media: venus: core: fix max load for msm8996 and sdm845
  2019-02-26  8:17 [PATCH] media: venus: core: fix max load for msm8996 and sdm845 Alexandre Courbot
@ 2019-02-26  8:56 ` Stanimir Varbanov
  0 siblings, 0 replies; 2+ messages in thread
From: Stanimir Varbanov @ 2019-02-26  8:56 UTC (permalink / raw)
  To: Alexandre Courbot, Mauro Carvalho Chehab, linux-media; +Cc: linux-kernel

Hi Alex,

Thanks for the fix, and I'm sorry for the typo.

On 2/26/19 10:17 AM, Alexandre Courbot wrote:
> Patch commit de5a0bafcfc4 ("media: venus: core: correct maximum hardware
> load for sdm845") meant to increase the maximum hardware load for sdm845,
> but ended up changing the one for msm8996 instead.
> 
> Fixes: de5a0bafcfc4 ("media: venus: core: correct maximum hardware load for sdm845")
> 
> Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
> ---
>  drivers/media/platform/qcom/venus/core.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>

> 
> diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c
> index 739366744e0f..435c7b68bbed 100644
> --- a/drivers/media/platform/qcom/venus/core.c
> +++ b/drivers/media/platform/qcom/venus/core.c
> @@ -455,7 +455,7 @@ static const struct venus_resources msm8996_res = {
>  	.reg_tbl_size = ARRAY_SIZE(msm8996_reg_preset),
>  	.clks = {"core", "iface", "bus", "mbus" },
>  	.clks_num = 4,
> -	.max_load = 3110400,	/* 4096x2160@90 */
> +	.max_load = 2563200,
>  	.hfi_version = HFI_VERSION_3XX,
>  	.vmem_id = VIDC_RESOURCE_NONE,
>  	.vmem_size = 0,
> @@ -478,7 +478,7 @@ static const struct venus_resources sdm845_res = {
>  	.freq_tbl_size = ARRAY_SIZE(sdm845_freq_table),
>  	.clks = {"core", "iface", "bus" },
>  	.clks_num = 3,
> -	.max_load = 2563200,
> +	.max_load = 3110400,	/* 4096x2160@90 */
>  	.hfi_version = HFI_VERSION_4XX,
>  	.vmem_id = VIDC_RESOURCE_NONE,
>  	.vmem_size = 0,
> 

-- 
regards,
Stan

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

end of thread, other threads:[~2019-02-26  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-26  8:17 [PATCH] media: venus: core: fix max load for msm8996 and sdm845 Alexandre Courbot
2019-02-26  8:56 ` Stanimir Varbanov

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.