drm/amdgpu/pm: add smc v2_1 printer in amdgpu_ucode_print_smc_hdr()
authorKevin Wang <kevin1.wang@amd.com>
Mon, 7 Dec 2020 06:32:26 +0000 (14:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2020 04:02:50 +0000 (23:02 -0500)
commita6d64c1ae1997362461ce6379041d73b64946d02
treefa9baf64b02947558b56d8c84471ddb10236ffdc
parentee3d8dd1af7e790609439752c5aee06a8d307fff
drm/amdgpu/pm: add smc v2_1 printer in amdgpu_ucode_print_smc_hdr()

the smc v2_0 printer is not compatible with the smc v2_1 .
1. add smc v2_1 printer.
2. cleanup code

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c