[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> |
||
---|---|---|
.. | ||
dcn21_hubbub.c | ||
dcn21_hubbub.h | ||
dcn21_hubp.c | ||
dcn21_hubp.h | ||
dcn21_hwseq.c | ||
dcn21_hwseq.h | ||
dcn21_init.c | ||
dcn21_init.h | ||
dcn21_link_encoder.c | ||
dcn21_link_encoder.h | ||
dcn21_resource.c | ||
dcn21_resource.h | ||
Makefile |