diff options
author | Candice Li <candice.li@amd.com> | 2022-09-07 09:58:59 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-09-13 20:25:39 +0200 |
commit | df2c6e0c95ca22db5d6bea7e8169841c95426f8d (patch) | |
tree | 3ad8cee42ddae720269dd759c4495e7409625bdc /drivers | |
parent | drm/amdgpu: use dirty framebuffer helper (diff) | |
download | linux-df2c6e0c95ca22db5d6bea7e8169841c95426f8d.tar.xz linux-df2c6e0c95ca22db5d6bea7e8169841c95426f8d.zip |
drm/amdgpu: Enable full reset when RAS is supported on gc v11_0_0
Enable full reset for RAS supported configuration on gc v11_0_0.
v2: simplify the code.
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc21.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c index 55284b24f113..2e50db3b761e 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc21.c +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c @@ -421,6 +421,7 @@ static bool soc21_need_full_reset(struct amdgpu_device *adev) { switch (adev->ip_versions[GC_HWIP][0]) { case IP_VERSION(11, 0, 0): + return amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__UMC); case IP_VERSION(11, 0, 2): return false; default: |