diff options
author | Dmytro Laktyushkin <[email protected]> | 2020-03-09 17:11:16 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-03-31 12:26:15 -0400 |
commit | c42656f8fc52de4f0321c5054896b1ccbb3c6cd2 (patch) | |
tree | ec877d2f28774e49b64bf90a7bca2a1c51678be9 /drivers/usb/cdns3/cdns3-trace.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 <[email protected]>
Signed-off-by: George Shen <[email protected]>
Reviewed-by: Dmytro Laktyushkin <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions