]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite261a637f57effeeaf8ddd10221cc778e5d98848
treeb771eebb7c3f12b1128210d9d7589d21248f79d2
parentc9a08f7e24208b654bf6e0acca2e30d3f604a962
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