Enable MMIO pipe reset for compute pipes.

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

diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c 
b/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
index ac75b7d65cb7a..b86279f4776eb 100644
--- a/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
@@ -510,9 +510,6 @@ static int mes_v12_0_reset_compute_pipe_mmio(struct 
amdgpu_device *adev,
        uint32_t reset_val, clean_val;
        int r = 0;
 
-       if (!mes_v12_0_pipe_reset_support(adev))
-               return -EOPNOTSUPP;
-
        amdgpu_gfx_rlc_enter_safe_mode(adev, 0);
        mutex_lock(&adev->srbm_mutex);
        soc24_grbm_select(adev, me, pipe, queue, 0);
-- 
2.54.0

Reply via email to