diff options
author | Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> | 2020-03-09 22:11:16 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-03-31 18:26:15 +0200 |
commit | c42656f8fc52de4f0321c5054896b1ccbb3c6cd2 (patch) | |
tree | ec877d2f28774e49b64bf90a7bca2a1c51678be9 /drivers/rapidio | |
parent | drm/amd/display: Enable BT2020 in COLOR_ENCODING property (diff) | |
download | linux-c42656f8fc52de4f0321c5054896b1ccbb3c6cd2.tar.xz linux-c42656f8fc52de4f0321c5054896b1ccbb3c6cd2.zip |
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 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions