diff options
| author | Ellen Pan <yunru.pan@amd.com> | 2025-04-11 05:12:24 +0300 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-04-12 00:01:00 +0300 | 
| commit | 5045c6c69872b9dd145e9ecbc9731d81a5954be1 (patch) | |
| tree | fec803a6c450f315403a4cc8abfb6f298308faa2 /drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | |
| parent | 18a878fd8aef0ec21648a3782f55a79790cd4073 (diff) | |
| download | linux-5045c6c69872b9dd145e9ecbc9731d81a5954be1.tar.xz | |
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/gfx_v10_0.c')
0 files changed, 0 insertions, 0 deletions
