summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorLikun Gao <Likun.Gao@amd.com>2023-10-30 10:48:20 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-02-14 17:18:24 -0500
commit815282549896b8c87049969559d9ba843a9d318b (patch)
tree3d997d736f1dc1ba076e962a542ceed3e67ab7a2 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parente71658299d458c1384bbc09662830204559cfa47 (diff)
downloadlinux-815282549896b8c87049969559d9ba843a9d318b.tar.gz
linux-815282549896b8c87049969559d9ba843a9d318b.tar.bz2
linux-815282549896b8c87049969559d9ba843a9d318b.zip
drm/amdgpu: add psp_timeout to limit PSP related operation
Add a new parameter psp_timeout to limit psp related operation to unify the timeout limition for psp. Signed-off-by: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 2cf4fb3f7751..9246bca0a008 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1096,6 +1096,7 @@ struct amdgpu_device {
long sdma_timeout;
long video_timeout;
long compute_timeout;
+ long psp_timeout;
uint64_t unique_id;
uint64_t df_perfmon_config_assign_mask[AMDGPU_MAX_DF_PERFMONS];