aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorIan Chen <ian.chen@amd.com>2021-06-24 10:48:43 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-07-21 13:39:25 -0400
commit360d1b65449356f56287e49d1b3d7579e758ca29 (patch)
treed1ec30b614164829f9d852bec422a2dc4d57d2dd /drivers/gpu/drm/amd
parentdrm/amd/display: implement workaround for riommu related hang (diff)
downloadlinux-dev-360d1b65449356f56287e49d1b3d7579e758ca29.tar.xz
linux-dev-360d1b65449356f56287e49d1b3d7579e758ca29.zip
drm/amd/display: Extend dmub_cmd_psr_copy_settings_data struct
Reserve padding bytes for new feature implementation Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Ian Chen <ian.chen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h4
1 files changed, 4 insertions, 0 deletions
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];
};
/**