[PATCH 07/32] drm/amd/display: Extend dmub_cmd_psr_copy_settings_data struct

Rodrigo Siqueira Rodrigo.Siqueira at amd.com
Sun Jul 18 14:05:45 UTC 2021


From: Ian Chen <ian.chen at amd.com>

Reserve padding bytes for new feature implementation

Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
Signed-off-by: Ian Chen <ian.chen at amd.com>
---
 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 98bda0e3a6c3..53e3d7d573ca 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.25.1



More information about the amd-gfx mailing list