diff options
| author | Stanley.Yang <[email protected]> | 2023-09-15 10:44:17 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-09-20 20:24:09 +0000 |
| commit | a83f2bf1f4d95582cadb0136f0e1bd5b398b5c90 (patch) | |
| tree | a5e3c5759e91d962d2e45f923108a7abeeefe913 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
| parent | drm/amdgpu/jpeg: skip set pg for sriov (diff) | |
| download | kernel-a83f2bf1f4d95582cadb0136f0e1bd5b398b5c90.tar.gz kernel-a83f2bf1f4d95582cadb0136f0e1bd5b398b5c90.zip | |
drm/amdgpu: Fix false positive error log
It should first check block ras obj whether be set, it should
return 0 directly if block ras obj or hw_ops is not set.
If block doesn't support RAS just return 0 is fine.
Changed from V1:
return 0 directly if block ras obj or hw ops is not set
Signed-off-by: Stanley.Yang <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions
