From 360d1b65449356f56287e49d1b3d7579e758ca29 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Thu, 24 Jun 2021 10:48:43 +0800 Subject: [PATCH] drm/amd/display: Extend dmub_cmd_psr_copy_settings_data struct Reserve padding bytes for new feature implementation Acked-by: Rodrigo Siqueira Signed-off-by: Ian Chen Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h index 98bda0e..53e3d7d 100644 --- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h +++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h @@ -1409,6 +1409,10 @@ struct dmub_cmd_psr_copy_settings_data { * Currently the support is only for 0 or 1 */ uint8_t panel_inst; + /** + * Explicit padding to 4 byte boundary. + */ + uint8_t pad3[4]; }; /** -- 2.7.4