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_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 1eedd697fee0..c8f56ce928e8 100644
--- a/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
@@ -502,9 +502,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.49.0

Reply via email to