]> www.infradead.org Git - users/hch/dma-mapping.git/commit
drm/amdgpu/mes: manage mes doorbell allocation
authorJack Xiao <Jack.Xiao@amd.com>
Mon, 11 Apr 2022 20:46:13 +0000 (16:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:43:51 +0000 (10:43 -0400)
commit32de57e9ef59b6f646849a8bd615b7c978a4fa6d
tree99ba984bb576a14f71cd2b0206884d7c1a2a39a8
parentf10e80e3a4171a451027e480dafde6c8c3974eb7
drm/amdgpu/mes: manage mes doorbell allocation

It is used to manage the doorbell allocation of mes processes and queues.
Driver calls into process doorbell allocation to get the slice doorbell
for the process, then the doorbell for a queue is allocated from the
process doorbell slice.

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/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c [new file with mode: 0644]