diff options
| author | Shashank Sharma <[email protected]> | 2023-07-14 13:31:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-07 21:14:07 +0000 |
| commit | c31866651086fc3ae6ff7ea0aab6b11edc7b7a93 (patch) | |
| tree | da1390293362f8f3984f41eb18bea450d479c436 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | drm/amd/display: Read replay data from sink (diff) | |
| download | kernel-c31866651086fc3ae6ff7ea0aab6b11edc7b7a93.tar.gz kernel-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 <[email protected]>
Cc: Christian Koenig <[email protected]>
Cc: Felix Kuehling <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Shashank Sharma <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions
