Keep PER_PIPE disabled until the minimum CP firmware version for
warm reset is confirmed.

Signed-off-by: Jesse Zhang <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c 
b/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
index c559b355eb49..1b9a4e7ea833 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
@@ -1575,6 +1575,8 @@ static int gfx_v12_0_sw_init(struct amdgpu_ip_block 
*ip_block)
                    !adev->debug_disable_gpu_ring_reset) {
                        adev->gfx.compute_supported_reset |= 
AMDGPU_RESET_TYPE_PER_QUEUE;
                        adev->gfx.gfx_supported_reset |= 
AMDGPU_RESET_TYPE_PER_QUEUE;
+                       /* TODO: verify CP warm-reset support before enabling 
PER_PIPE. */
+                       /* adev->gfx.gfx_supported_reset |= 
AMDGPU_RESET_TYPE_PER_PIPE; */
                }
                break;
        default:
-- 
2.49.0

Reply via email to