diff mbox series

[2/4] venus: core: corect maximum hardware load for sdm845

Message ID 20190109084616.17162-3-stanimir.varbanov@linaro.org (mailing list archive)
State New, archived
Headers show
Series Venus various fixes | expand

Commit Message

Stanimir Varbanov Jan. 9, 2019, 8:46 a.m. UTC
This corects maximum hardware load constant in per SoC resources
for sdm845 aka Venus v4.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
---
 drivers/media/platform/qcom/venus/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alexandre Courbot Jan. 23, 2019, 6:09 a.m. UTC | #1
On Wed, Jan 9, 2019 at 5:46 PM Stanimir Varbanov
<stanimir.varbanov@linaro.org> wrote:
>
> This corects maximum hardware load constant in per SoC resources

s/corect/correct. Same typo is present in patch title.


> for sdm845 aka Venus v4.
>
> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
> ---
>  drivers/media/platform/qcom/venus/core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c
> index cb411eb85ee4..d95185ea32c3 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 = 2563200,
> +       .max_load = 3110400,    /* 4096x2160@90 */
>         .hfi_version = HFI_VERSION_3XX,
>         .vmem_id = VIDC_RESOURCE_NONE,
>         .vmem_size = 0,
> --
> 2.17.1
>
diff mbox series

Patch

diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c
index cb411eb85ee4..d95185ea32c3 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 = 2563200,
+	.max_load = 3110400,	/* 4096x2160@90 */
 	.hfi_version = HFI_VERSION_3XX,
 	.vmem_id = VIDC_RESOURCE_NONE,
 	.vmem_size = 0,