Files
linux/drivers
Philip Yang fb91065851 drm/amdkfd: Refactor queue wptr_bo GART mapping
Add helper function kfd_queue_acquire_buffers to get queue wptr_bo
reference from queue write_ptr if it is mapped to the KFD node with
expected size.

Add wptr_bo to structure queue_properties because structure queue is
allocated after queue buffers are validated, then we can remove wptr_bo
parameter from pqm_create_queue.

Rename structure queue wptr_bo_gart to hold wptr_bo reference for GART
mapping and umapping. Move MES wptr_bo_gart mapping to init_user_queue,
the same location with queue ctx_bo GART mapping.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-07-23 17:35:04 -04:00
..
2024-06-21 12:55:12 +02:00
2024-07-05 10:47:28 +02:00
2024-04-23 13:16:03 +02:00
2024-05-23 00:29:19 +02:00
2024-07-05 10:47:28 +02:00
2024-07-05 10:47:28 +02:00
2024-05-07 23:40:46 +02:00
2024-04-23 13:16:03 +02:00
2024-04-29 16:45:53 +02:00