drm/amdgpu/gfx10: associate mes queue id with fence v2
authorJack Xiao <Jack.Xiao@amd.com>
Fri, 20 Mar 2020 04:03:08 +0000 (12:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:03:45 +0000 (10:03 -0400)
commit11f39576ac807d39b1e7e7a3842eb55c387607bb
tree81f6178030f177755e7d0eb11353b2c41e71c09d
parent34ec3c2e0ef2fb6b60e42782caf19201de1372db
drm/amdgpu/gfx10: associate mes queue id with fence v2

Associate mes queue id with fence, so that EOP trap handler can look up
which queue has issued the fence.

v2: move mes queue flag to amdgpu_mes_ctx.h

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mes_ctx.h
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c