From: Alex Deucher <[email protected]>

Enable MMIO pipe reset for compute pipes.

Signed-off-by: Alex Deucher <[email protected]>
Reviewed-by: Jesse Zhang <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c 
b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
index 9fe8bbbadb4f..ebfb80e80890 100644
--- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
@@ -477,9 +477,6 @@ static int mes_v11_0_reset_compute_pipe_mmio(struct 
amdgpu_device *adev,
        uint32_t reset_val, clean_val;
        int r;
 
-       if (!mes_v11_0_pipe_reset_support(adev))
-               return -EOPNOTSUPP;
-
        amdgpu_gfx_rlc_enter_safe_mode(adev, 0);
        mutex_lock(&adev->srbm_mutex);
        soc21_grbm_select(adev, me, pipe, queue, 0);
-- 
2.49.0

Reply via email to