aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanley.Yang <[email protected]>2021-06-15 16:26:49 +0800
committerAlex Deucher <[email protected]>2021-06-18 17:01:35 -0400
commite11d5e0d68cb7f1d796a25fac046e64d3696f22f (patch)
tree9d3c445d91f42e1bb73ef2213769609bca25b32c
parent84408d5f3892534da9e8e5d5b21126c91f8cac1a (diff)
drm/amdgpu: add vega20 to ras quirk list
Signed-off-by: Stanley.Yang <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index bd24639aedfc..6d1e6005bd87 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -2063,7 +2063,9 @@ static void amdgpu_ras_get_quirks(struct amdgpu_device *adev)
return;
if (strnstr(ctx->vbios_version, "D16406",
- sizeof(ctx->vbios_version)))
+ sizeof(ctx->vbios_version)) ||
+ strnstr(ctx->vbios_version, "D36002",
+ sizeof(ctx->vbios_version)))
adev->ras_hw_enabled |= (1 << AMDGPU_RAS_BLOCK__GFX);
}