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:04:12 +0000 (22:04 -0500)
commite8a9c6884297a6d210b28447619a5c97cfd7fc8c
treeebb3869dfc5f58d11b817c196f440b8ef00d5138
parent70f1872e3873f5c34cf02029480307f4b4cfb44f
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