drm/amd/powerplay: revise the way to retrieve the board parameters
authorEvan Quan <evan.quan@amd.com>
Fri, 6 Mar 2020 09:54:44 +0000 (17:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:45 +0000 (18:11 -0400)
commit02c0bb4ee3eba2b967d123da7a073a7d67e029e9
treea064b1e3c13162d21de35eab53dd9715999ccd7f
parentced1ba9761693ec310c33edf47c63b062a09be4a
drm/amd/powerplay: revise the way to retrieve the board parameters

It can support different NV1x ASIC better. And this can guard
no member got missing.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/atomfirmware.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c