aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorShashank Sharma <shashank.sharma@amd.com>2023-07-14 15:31:20 +0200
committerAlex Deucher <alexander.deucher@amd.com>2023-08-07 17:14:07 -0400
commitc31866651086fc3ae6ff7ea0aab6b11edc7b7a93 (patch)
treeda1390293362f8f3984f41eb18bea450d479c436 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parent76bd34786ebd323cf4c32604cf6166b08aaa3ffa (diff)
downloadlinux-c31866651086fc3ae6ff7ea0aab6b11edc7b7a93.tar.gz
linux-c31866651086fc3ae6ff7ea0aab6b11edc7b7a93.tar.bz2
linux-c31866651086fc3ae6ff7ea0aab6b11edc7b7a93.zip
drm/amdgpu: use doorbell mgr for kfd kernel doorbells
This patch: - adds a doorbell bo in kfd device structure. - creates doorbell page for kfd kernel usages. - updates the get_kernel_doorbell and free_kernel_doorbell functions accordingly V2: Do not use wrapper API, use direct amdgpu_create_kernel(Alex) V3: - Move single variable declaration below (Christian) - Add a to-do item to reuse the KGD kernel level doorbells for KFD for non-MES cases, instead of reserving one page (Felix) Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Christian Koenig <christian.koenig@amd.com> Cc: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Shashank Sharma <shashank.sharma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions