diff options
author | 2023-09-15 18:44:17 +0800 | |
---|---|---|
committer | 2023-09-20 16:24:09 -0400 | |
commit | a83f2bf1f4d95582cadb0136f0e1bd5b398b5c90 (patch) | |
tree | a5e3c5759e91d962d2e45f923108a7abeeefe913 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | drm/amdgpu/jpeg: skip set pg for sriov (diff) | |
download | linux-rng-a83f2bf1f4d95582cadb0136f0e1bd5b398b5c90.tar.xz linux-rng-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 <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions