]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Fix dmub_cmd header alignment
authorOvidiu Bunea <ovidiu.bunea@amd.com>
Tue, 15 Jul 2025 21:26:39 +0000 (17:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Jul 2025 20:40:31 +0000 (16:40 -0400)
commit327aba7f558187e451636c77a1662a2858438dc9
tree0336e2d6ceb61c0401caaef8075b43018196346e
parent640cd296f5877d20db9d4fbf6441eee114c1cb97
drm/amd/display: Fix dmub_cmd header alignment

[why & how]
Header misalignment in struct dmub_cmd_replay_copy_settings_data and
struct dmub_alpm_auxless_data causes incorrect data read between driver
and dmub.
Fix the misalignment and ensure that everything is aligned to 4-byte
boundaries.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h