]> git.baikalelectronics.ru Git - kernel.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)
commitd0f14e8fa262bbebd7efe6243bc8c9862b0a5c93
tree99ba984bb576a14f71cd2b0206884d7c1a2a39a8
parentbc706cfd33d37d9c95c3aa33813b6716d14c0eb2
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]