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

login
register
mail settings
Submitter Stanimir Varbanov
Date Jan. 9, 2019, 8:46 a.m.
Message ID <20190109084616.17162-3-stanimir.varbanov@linaro.org>
Download mbox | patch
Permalink /patch/53781/
State New
Headers show

Comments

Stanimir Varbanov - Jan. 9, 2019, 8:46 a.m.
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(-)

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,

Privacy Policy