]> git.hungrycats.org Git - linux/commitdiff
drm/amdgpu/mes12: enable compute MMIO pipe reset
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 14 May 2026 19:30:38 +0000 (15:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jun 2026 19:51:35 +0000 (15:51 -0400)
Enable MMIO pipe reset for compute pipes.

Reviewed-by: Jesse Zhang <jesse.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c

index 95dd0106e43cda0d90b4a9d02e72b52cc2d9567b..d80a983b1b6c3c207f6dcc068a72efbcfca5fad3 100644 (file)
@@ -501,9 +501,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);