drm/amdgpu: add mc wptr addr support for mes
authorJack Xiao <Jack.Xiao@amd.com>
Thu, 2 Jun 2022 08:37:56 +0000 (16:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Jun 2022 15:24:05 +0000 (11:24 -0400)
commitfe4e9ff9873758ad07e6f7b3088ae3a9dd3ff1b3
tree9481ef9ebec382066097dc7e7a2239e625e82265
parentca0cb8959f7b84742c3dd612f5b044788cddfcc7
drm/amdgpu: add mc wptr addr support for mes

MES requires mc wptr address for usermode queues.
Export bo gart address for mc wptr address.

Signed-off-by: Jack Xiao <Jack.Xiao@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.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
drivers/gpu/drm/amd/amdgpu/amdgpu_mes_ctx.h
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c