drm/amd/powerplay: fix the incorrect type of pptable

This patch is to fix the incorrect type of pptable, otherwise, the data will be
totally wrong in parsing phase.

Signed-off-by: Kenneth Feng <Kenneth.Feng@amd.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Kenneth Feng 2019-04-04 12:50:23 +08:00 committed by Alex Deucher
parent 013fd3a61a
commit 4b2bb705a0
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ struct smu_11_0_powerplay_table
{
struct atom_common_table_header header;
uint8_t table_revision;
uint32_t table_size; //Driver portion table size. The offset to smc_pptable including header size
uint16_t table_size; //Driver portion table size. The offset to smc_pptable including header size
uint32_t golden_pp_id;
uint32_t golden_revision;
uint16_t format_id;