summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c
diff options
context:
space:
mode:
authorEllen Pan <yunru.pan@amd.com>2025-04-10 22:12:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2025-04-11 17:01:00 -0400
commit5045c6c69872b9dd145e9ecbc9731d81a5954be1 (patch)
treefec803a6c450f315403a4cc8abfb6f298308faa2 /drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c
parent18a878fd8aef0ec21648a3782f55a79790cd4073 (diff)
drm/amdgpu: Direct ret in ras_reset_err_cnt on VF
With adding sriov_vf check, we directly return EOPNOTSUPP in ras_reset_error_count as we should not do anything on VF to reset RAS error count. This also fixes the issue that loading guest driver causes register violations. Reviewed-by: Ahmad Rehman <Ahmad.Rehman@amd.com> Signed-off-by: Ellen Pan <yunru.pan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c')
0 files changed, 0 insertions, 0 deletions