Commit b7cb3669 authored by Hawking Zhang's avatar Hawking Zhang Committed by Alex Deucher
Browse files

drm/amdgpu: Remove redundant check for async_gfx_ring



Remove the redundant check for async_gfx_ring,
as it is not required for gfx v12_1

Signed-off-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: default avatarLikun Gao <Likun.Gao@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d0b6c5f2
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2390,9 +2390,7 @@ static int gfx_v12_1_xcc_cp_resume(struct amdgpu_device *adev,

	gfx_v12_1_xcc_cp_set_doorbell_range(adev, xcc_id);

	if (amdgpu_async_gfx_ring) {
	gfx_v12_1_xcc_cp_compute_enable(adev, true, xcc_id);
	}

	if (adev->enable_mes_kiq && adev->mes.kiq_hw_init)
		r = amdgpu_mes_kiq_hw_init(adev, xcc_id);