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_v11_0.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c 
b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index 5ed70bbf5313..70a7b890e70d 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -1921,6 +1921,8 @@ static int gfx_v11_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