mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
drm/amdgpu: Extend poison mode check to SDMA/VCN/JPEG
Treat SDMA/VCN/JPEG as RAS capable IP blocks in poison mode. Signed-off-by: Candice Li <candice.li@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
cd11589b05
commit
bc0f80802d
1 changed files with 4 additions and 1 deletions
|
@ -3148,7 +3148,10 @@ int amdgpu_ras_is_supported(struct amdgpu_device *adev,
|
|||
* that the ras block supports ras function.
|
||||
*/
|
||||
if (!ret &&
|
||||
block == AMDGPU_RAS_BLOCK__GFX &&
|
||||
(block == AMDGPU_RAS_BLOCK__GFX ||
|
||||
block == AMDGPU_RAS_BLOCK__SDMA ||
|
||||
block == AMDGPU_RAS_BLOCK__VCN ||
|
||||
block == AMDGPU_RAS_BLOCK__JPEG) &&
|
||||
amdgpu_ras_is_poison_mode_supported(adev) &&
|
||||
amdgpu_ras_get_ras_block(adev, block, 0))
|
||||
ret = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue