diff options
author | Samson Tam <samson.tam@amd.com> | 2022-12-05 11:08:40 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-03 16:50:48 -0500 |
commit | 878a3c004c0e49bb2d4e552899aaa98f9fad309e (patch) | |
tree | 37da834e367cc61471442f18a9c1cd557fbf7295 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | e8fd3eeb5e8711af39b00642da06474e52f4780c (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions