| From ee3b94f22638e0f7a1893d95d87b08698b680052 Mon Sep 17 00:00:00 2001 |
| From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> |
| Date: Sat, 31 May 2025 14:22:00 +0200 |
| Subject: media: venus: Fix MSM8998 frequency table |
| |
| From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> |
| |
| commit ee3b94f22638e0f7a1893d95d87b08698b680052 upstream. |
| |
| Fill in the correct data for the production SKU. |
| |
| Fixes: 193b3dac29a4 ("media: venus: add msm8998 support") |
| Cc: stable@vger.kernel.org |
| Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> |
| Reviewed-by: Vikash Garodia <quic_vgarodia@quicinc.com> |
| Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> |
| Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> |
| Signed-off-by: Bryan O'Donoghue <bod@kernel.org> |
| Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| drivers/media/platform/qcom/venus/core.c | 10 +++++----- |
| 1 file changed, 5 insertions(+), 5 deletions(-) |
| |
| --- a/drivers/media/platform/qcom/venus/core.c |
| +++ b/drivers/media/platform/qcom/venus/core.c |
| @@ -593,11 +593,11 @@ static const struct venus_resources msm8 |
| }; |
| |
| static const struct freq_tbl msm8998_freq_table[] = { |
| - { 1944000, 465000000 }, /* 4k UHD @ 60 (decode only) */ |
| - { 972000, 465000000 }, /* 4k UHD @ 30 */ |
| - { 489600, 360000000 }, /* 1080p @ 60 */ |
| - { 244800, 186000000 }, /* 1080p @ 30 */ |
| - { 108000, 100000000 }, /* 720p @ 30 */ |
| + { 1728000, 533000000 }, /* 4k UHD @ 60 (decode only) */ |
| + { 1036800, 444000000 }, /* 2k @ 120 */ |
| + { 829440, 355200000 }, /* 4k @ 44 */ |
| + { 489600, 269330000 },/* 4k @ 30 */ |
| + { 108000, 200000000 }, /* 1080p @ 60 */ |
| }; |
| |
| static const struct reg_val msm8998_reg_preset[] = { |