diff options
author | 2025-04-10 22:12:24 -0400 | |
---|---|---|
committer | 2025-04-11 17:01:00 -0400 | |
commit | 5045c6c69872b9dd145e9ecbc9731d81a5954be1 (patch) | |
tree | fec803a6c450f315403a4cc8abfb6f298308faa2 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | drm/amdgpu: Use generic hdp flush function (diff) | |
download | wireguard-linux-5045c6c69872b9dd145e9ecbc9731d81a5954be1.tar.xz wireguard-linux-5045c6c69872b9dd145e9ecbc9731d81a5954be1.zip |
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_kms.c')
0 files changed, 0 insertions, 0 deletions