]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
media: venus: core: correct frequency table for sdm845
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Thu, 6 Dec 2018 16:00:15 +0000 (14:00 -0200)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 25 Jan 2019 20:43:24 +0000 (18:43 -0200)
This corrects clock frequency table rates to be in sync
with video clock controller frequency table.

Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Tested-by: Alexandre Courbot <acourbot@chromium.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/qcom/venus/core.c

index d95185ea32c31096a7c78c6f0908c687ef67826c..739366744e0f3fcebdc716932ce84064de51a3d1 100644 (file)
@@ -465,10 +465,12 @@ static const struct venus_resources msm8996_res = {
 };
 
 static const struct freq_tbl sdm845_freq_table[] = {
-       { 1944000, 380000000 }, /* 4k UHD @ 60 */
-       {  972000, 320000000 }, /* 4k UHD @ 30 */
-       {  489600, 200000000 }, /* 1080p @ 60 */
-       {  244800, 100000000 }, /* 1080p @ 30 */
+       { 3110400, 533000000 }, /* 4096x2160@90 */
+       { 2073600, 444000000 }, /* 4096x2160@60 */
+       { 1944000, 404000000 }, /* 3840x2160@60 */
+       {  972000, 330000000 }, /* 3840x2160@30 */
+       {  489600, 200000000 }, /* 1920x1080@60 */
+       {  244800, 100000000 }, /* 1920x1080@30 */
 };
 
 static const struct venus_resources sdm845_res = {