diff options
| author | Likun Gao <[email protected]> | 2023-10-26 09:39:17 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-02-14 22:18:16 +0000 |
| commit | 2fb4460fb84d507c55d3e346dfe95230e6d17c5b (patch) | |
| tree | b17a2490542c18f4bce417099e9f956839daaa8d /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |
| parent | drm/amdgpu/psp: set autoload support by default (diff) | |
| download | kernel-2fb4460fb84d507c55d3e346dfe95230e6d17c5b.tar.gz kernel-2fb4460fb84d507c55d3e346dfe95230e6d17c5b.zip | |
drm/amdgpu/psp: handle TMR type via flag
Add flag boot_time_tmr to indicate boot time TMR or runtime TMR
instead of function.
v2: rework logic (Alex)
Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h index c24b1d7462ee..ee16f134ae92 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h @@ -364,6 +364,8 @@ struct psp_context { atomic_t fence_value; /* flag to mark whether gfx fw autoload is supported or not */ bool autoload_supported; + /* flag to mark whether psp use runtime TMR or boottime TMR */ + bool boot_time_tmr; /* flag to mark whether df cstate management centralized to PMFW */ bool pmfw_centralized_cstate_management; |
