diff options
| author | Candice Li <[email protected]> | 2021-08-13 02:14:43 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-08-16 19:18:04 +0000 |
| commit | 6457205c07563f1f6b101ff9ef747bd7ed57e4a7 (patch) | |
| tree | 735579a059975353edd8acf676c84facce2e674a /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
| parent | drm/amdgpu: Add MB_REQ_MSG_READY_TO_RESET response when VF get FLR notification. (diff) | |
| download | kernel-6457205c07563f1f6b101ff9ef747bd7ed57e4a7.tar.gz kernel-6457205c07563f1f6b101ff9ef747bd7ed57e4a7.zip | |
drm/amd/amdgpu: consolidate PSP TA context
Signed-off-by: Candice Li <[email protected]>
Reviewed-by: John Clements <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h index 4d9c63f2f377..471ffe885fdf 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h @@ -470,8 +470,8 @@ struct ras_debug_if { * 8: feature disable */ -#define amdgpu_ras_get_context(adev) ((adev)->psp.ras.ras) -#define amdgpu_ras_set_context(adev, ras_con) ((adev)->psp.ras.ras = (ras_con)) +#define amdgpu_ras_get_context(adev) ((adev)->psp.ras_context.ras) +#define amdgpu_ras_set_context(adev, ras_con) ((adev)->psp.ras_context.ras = (ras_con)) /* check if ras is supported on block, say, sdma, gfx */ static inline int amdgpu_ras_is_supported(struct amdgpu_device *adev, |
