diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c index ab564202f550..f4a4432c2c5d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c @@ -2270,11 +2270,9 @@ static void amdgpu_ualink_process_hello_msg(struct amdgpu_device *adev, /* otherwise, leave it IN_PROGRESS to signal the completion below */ mutex_unlock(&conn_state->lock); } else { - /* Set the connection state back to In Progress and revoke - * all exports and release all imports corresponding to the - * sender GPU. + /* Leave state ESTABLISHED so handle_connection_reset() + * performs the transition and imp/exp XA cleanup. */ - conn_state->state = AMDGPU_UALINK_CONN_PENDING; generation_count = conn_state->generation_count; mutex_unlock(&conn_state->lock);