drm/amdgpu/gfx10: use per ctx CSA for ce metadata
authorJack Xiao <Jack.Xiao@amd.com>
Fri, 20 Mar 2020 03:10:20 +0000 (11:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:03:40 +0000 (10:03 -0400)
commit75df9e88c57d07278633417bf5a190b36afbc42e
tree2482c57da5674aeaa35612820fb76b4e067d1550
parentc755f68095eba41f213e2f748c84b25d5c435551
drm/amdgpu/gfx10: use per ctx CSA for ce metadata

As MES requires per context preemption, use per context CSA address
for CE metadata to correctly enable context MCBP preemption.

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/gfx_v10_0.c