Commit f3c23be
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 <[email protected]>
Signed-off-by: Samson Tam <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected] # 6.0.x, 6.1.x1 parent cf97eb7 commit f3c23be
File tree
1 file changed
+3
-3
lines changed- drivers/gpu/drm/amd/display/dc/dml/dcn32
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6257 | 6257 | | |
6258 | 6258 | | |
6259 | 6259 | | |
6260 | | - | |
| 6260 | + | |
6261 | 6261 | | |
6262 | | - | |
| 6262 | + | |
6263 | 6263 | | |
6264 | 6264 | | |
6265 | | - | |
| 6265 | + | |
6266 | 6266 | | |
6267 | 6267 | | |
6268 | 6268 | | |
| |||
0 commit comments