diff options
author | Samson Tam <samson.tam@amd.com> | 2022-12-05 17:08:40 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-03 23:20:04 +0100 |
commit | f3c23bea598ab7e8e4b8c5ca66598921310f718e (patch) | |
tree | 17ca153ce50cc5bfc43da7e788a4f61d5f216afc /lib/fonts/font_6x10.c | |
parent | drm/amdkfd: Fix kernel warning during topology setup (diff) | |
download | linux-f3c23bea598ab7e8e4b8c5ca66598921310f718e.tar.xz linux-f3c23bea598ab7e8e4b8c5ca66598921310f718e.zip |
drm/amd/display: Uninitialized variables causing 4k60 UCLK to stay at DPM1 and not DPM0
[Why]
SwathSizePerSurfaceY[] and SwathSizePerSurfaceC[] values are uninitialized
because we are using += instead of = operator.
[How]
Assign values in loop with = operator.
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Samson Tam <samson.tam@amd.com>
Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.0.x, 6.1.x
Diffstat (limited to 'lib/fonts/font_6x10.c')
0 files changed, 0 insertions, 0 deletions