]> 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)
commit4f45e04ec5ea7dc24f885425b2fbee8c6af0f59b
tree99ba984bb576a14f71cd2b0206884d7c1a2a39a8
parentfd7ef065185f1c324d666ddd6c08f55141e0528a
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]