]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Pack DMCU iRAM alignment
authorJosip Pavic <Josip.Pavic@amd.com>
Tue, 11 Dec 2018 20:13:08 +0000 (15:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 21:00:17 +0000 (16:00 -0500)
commite9c227bbf0a64c48298fdd0abc8fd1aec9e6ffba
tree80f7634fee39c68da27b1dbec2302baf7f4d57ef
parente93b9355ac4a2b4628d8bb52952014004c3fd4d5
drm/amd/display: Pack DMCU iRAM alignment

[Why]
When the DMCU's iRAM definition was moved to the newly created
power_helpers, a #pragma pack was lost, causing the iRAM to be misaligned

[How]
Restore the #pragma pack

Signed-off-by: Josip Pavic <Josip.Pavic@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/power/power_helpers.c