diff options
| author | Shashank Sharma <[email protected]> | 2023-07-14 15:31:20 +0200 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-07 17:14:07 -0400 |
| commit | c31866651086fc3ae6ff7ea0aab6b11edc7b7a93 (patch) | |
| tree | da1390293362f8f3984f41eb18bea450d479c436 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
| parent | 76bd34786ebd323cf4c32604cf6166b08aaa3ffa (diff) | |
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/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions