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:
parent
013fd3a61a
commit
4b2bb705a0
|
@ -121,7 +121,7 @@ struct smu_11_0_powerplay_table
|
||||||
{
|
{
|
||||||
struct atom_common_table_header header;
|
struct atom_common_table_header header;
|
||||||
uint8_t table_revision;
|
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_pp_id;
|
||||||
uint32_t golden_revision;
|
uint32_t golden_revision;
|
||||||
uint16_t format_id;
|
uint16_t format_id;
|
||||||
|
|
Loading…
Reference in New Issue