summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
diff options
context:
space:
mode:
authorDillon Varone <dillon.varone@amd.com>2024-05-18 00:45:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-06-14 22:24:03 +0300
commit6172d39be2545ef3d71c4007065832a5219d2885 (patch)
treeda17febb9ef8df558c6ef13acaa36c04cb50c1ae /drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
parentba73d69a2c03d4cc10b09b2d5579f997eb26f61d (diff)
downloadlinux-6172d39be2545ef3d71c4007065832a5219d2885.tar.xz
drm/amd/display: Add recovery timeout to FAMS2
[WHY&HOW] Add 5ms timeout to trigger recovery and force allow P-State in DMUB. Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com> Signed-off-by: Dillon Varone <dillon.varone@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h')
-rw-r--r--drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h1
1 files changed, 1 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 d4d046ac82a4..53ea4a57bd44 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -1833,6 +1833,7 @@ struct dmub_cmd_fams2_global_config {
uint32_t lock_wait_time_us; // time to forecast acquisition of lock
uint32_t num_streams;
union dmub_fams2_global_feature_config features;
+ uint32_t recovery_timeout_us;
uint8_t pad[3];
};