diff options
author | Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> | 2020-03-09 17:11:16 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-03-31 12:26:15 -0400 |
commit | c42656f8fc52de4f0321c5054896b1ccbb3c6cd2 (patch) | |
tree | ec877d2f28774e49b64bf90a7bca2a1c51678be9 /kernel/locking/rtmutex-debug.c | |
parent | 00755bb79cb239905780965c9bc128de7073a9f0 (diff) |
drm/amd/display: Fix dcn21 num_states
[Why]
DML expects num_states to exclude the duplicate state.
[How]
Set num_states to correct value to prevent array off-by-one error. Also
refactor max clock level code for diags.
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions