drm/amd/powerplay: fix byte alignment issue of smu11 pptable
authorHuang Rui <ray.huang@amd.com>
Tue, 12 Feb 2019 07:39:44 +0000 (15:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:02 +0000 (15:04 -0500)
commit2dd1209e5760686efbf17fc6564fa58e8bb59ad1
treeb771eebb7c3f12b1128210d9d7589d21248f79d2
parent4322e4c251c977592ab0b03b13f09aac1eed1df9
drm/amd/powerplay: fix byte alignment issue of smu11 pptable

The smu_11_0_powerplay_table, smu_11_0_power_saving_clock_table, and
smu_11_0_overdrive_table need byte alignment. So we must add packed attribute
in the definitions.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/smu_v11_0_pptable.h