drm/amdgpu: Remove fence_process in count_emitted
authorJiadong.Zhu <Jiadong.Zhu@amd.com>
Fri, 23 Sep 2022 13:17:53 +0000 (21:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Sep 2022 22:03:09 +0000 (18:03 -0400)
commit11e38360cc15e2d5995449d19030b13a67d73cb3
tree7e2fba3b4f5bf2296484a5c852f774f0638d7d4b
parentb3e45b18e5c40f1f7e5f6383953343f96f963b13
drm/amdgpu: Remove fence_process in count_emitted

The function amdgpu_fence_count_emitted used in work_hander should not call
amdgpu_fence_process which must be used in irq handler.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jiadong.Zhu <Jiadong.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c