diff options
| author | Tao Zhou <[email protected]> | 2024-08-01 06:26:19 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-08-06 15:11:01 +0000 |
| commit | 792be2e23ac69821db7860ba4ba94592101f0b07 (patch) | |
| tree | ac321b0cb732b11446a13446473b8e95a2956387 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
| parent | drm/amd/display: Add stream and char control callback (diff) | |
| download | kernel-792be2e23ac69821db7860ba4ba94592101f0b07.tar.gz kernel-792be2e23ac69821db7860ba4ba94592101f0b07.zip | |
drm/amdgpu: create function to check RAS RMA status
In the convenience of calling it globally.
Signed-off-by: Tao Zhou <[email protected]>
Reviewed-by: Hawking Zhang <[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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h index 0d49b74bfe5e..9625e5c92413 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h @@ -974,4 +974,5 @@ __printf(3, 4) void amdgpu_ras_event_log_print(struct amdgpu_device *adev, u64 event_id, const char *fmt, ...); +bool amdgpu_ras_is_rma(struct amdgpu_device *adev); #endif |
