diff options
| author | Tao Zhou <[email protected]> | 2023-03-20 10:21:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 14:37:18 +0000 |
| commit | f464c5dd4d918d4dd84eda7e68d4a0b6d41fe37f (patch) | |
| tree | 83fe8cad637cc4b5a57ea13f84599c6e81d0f47b /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/amdgpu: remove RAS GFX injection for gfx_v9_4/gfx_v9_4_2 (diff) | |
| download | kernel-f464c5dd4d918d4dd84eda7e68d4a0b6d41fe37f.tar.gz kernel-f464c5dd4d918d4dd84eda7e68d4a0b6d41fe37f.zip | |
drm/amdgpu: add check for RAS instance mask
The mask is only needed to be set when RAS block instance number is
more than 1 and invalid bits should be also masked out.
We only check valid bits for GFX and SDMA block for now, and will
add check for other RAS blocks in the future.
v2: move the check under injection operation since the mask is only
used by RAS error inject.
v3: add valid bits handling for SDMA.
v4: print message if the mask is adjusted.
Signed-off-by: Tao Zhou <[email protected]>
Hawking Zhang <[email protected]>
Reviewed-by: Stanley.Yang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
