Commit a132459d authored by Alexandre Courbot's avatar Alexandre Courbot Committed by Mauro Carvalho Chehab

media: venus: core: fix max load for msm8996 and sdm845

Patch commit de5a0baf ("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: de5a0baf ("media: venus: core: correct maximum hardware load for sdm845")
Signed-off-by: default avatarAlexandre Courbot <acourbot@chromium.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent e45cf927
...@@ -455,7 +455,7 @@ static const struct venus_resources msm8996_res = { ...@@ -455,7 +455,7 @@ static const struct venus_resources msm8996_res = {
.reg_tbl_size = ARRAY_SIZE(msm8996_reg_preset), .reg_tbl_size = ARRAY_SIZE(msm8996_reg_preset),
.clks = {"core", "iface", "bus", "mbus" }, .clks = {"core", "iface", "bus", "mbus" },
.clks_num = 4, .clks_num = 4,
.max_load = 3110400, /* 4096x2160@90 */ .max_load = 2563200,
.hfi_version = HFI_VERSION_3XX, .hfi_version = HFI_VERSION_3XX,
.vmem_id = VIDC_RESOURCE_NONE, .vmem_id = VIDC_RESOURCE_NONE,
.vmem_size = 0, .vmem_size = 0,
...@@ -478,7 +478,7 @@ static const struct venus_resources sdm845_res = { ...@@ -478,7 +478,7 @@ static const struct venus_resources sdm845_res = {
.freq_tbl_size = ARRAY_SIZE(sdm845_freq_table), .freq_tbl_size = ARRAY_SIZE(sdm845_freq_table),
.clks = {"core", "iface", "bus" }, .clks = {"core", "iface", "bus" },
.clks_num = 3, .clks_num = 3,
.max_load = 2563200, .max_load = 3110400, /* 4096x2160@90 */
.hfi_version = HFI_VERSION_4XX, .hfi_version = HFI_VERSION_4XX,
.vmem_id = VIDC_RESOURCE_NONE, .vmem_id = VIDC_RESOURCE_NONE,
.vmem_size = 0, .vmem_size = 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment