Skip to content

Commit 67e3887

Browse files
Alvin Leealexdeucher
authored andcommitted
drm/amd/display: Increase num voltage states to 40
[Description] If during driver init stage there are greater than 20 intermediary voltage states while constructing the SOC BB we could hit issues because we will index outside of the clock_limits array and start overwriting data. Increase the total number of states to 40 to avoid this issue. Cc: [email protected] # 6.1+ Reviewed-by: Samson Tam <[email protected]> Acked-by: Hamza Mahfooz <[email protected]> Signed-off-by: Alvin Lee <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 9976421 commit 67e3887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/dc/dml/dc_features.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* Define the maximum amount of states supported by the ASIC. Every ASIC has a
3737
* specific number of states; this macro defines the maximum number of states.
3838
*/
39-
#define DC__VOLTAGE_STATES 20
39+
#define DC__VOLTAGE_STATES 40
4040
#define DC__NUM_DPP__4 1
4141
#define DC__NUM_DPP__0_PRESENT 1
4242
#define DC__NUM_DPP__1_PRESENT 1

0 commit comments

Comments
 (0)