amd/amdgpu: remove test ib on hw ring
authorJesseZhang <Jesse.Zhang@amd.com>
Wed, 8 Feb 2023 02:07:18 +0000 (10:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Feb 2023 03:33:31 +0000 (22:33 -0500)
commit6c1a6d0b64e1a15016ba7450cce8629f94de56c7
tree8b449b308683e082f04591b67f487e8962b452c7
parent5ad7bbf3dba5c4a684338df1f285080f2588b535
amd/amdgpu: remove test ib on hw ring

test ib function is not necessary on hw ring,
so remove it.

v2: squash in NULL check fix

Signed-off-by: JesseZhang <Jesse.Zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c