summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2024-06-20 19:31:36 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-07-24 00:42:54 +0300
commit834368eab36922595a402b9e76470f8efa2fac7f (patch)
tree51d83dba64bc1d07dc6141c8422040df547f39a5 /scripts/stackusage
parent22a9d5cbf88a92ac6cd473c3ba1c369aee8fec9a (diff)
downloadlinux-834368eab36922595a402b9e76470f8efa2fac7f.tar.xz
drm/amdkfd: Ensure user queue buffers residency
Add atomic queue_refcount to struct bo_va, return -EBUSY to fail unmap BO from the GPU if the bo_va queue_refcount is not zero. Create queue to increase the bo_va queue_refcount, destroy queue to decrease the bo_va queue_refcount, to ensure the queue buffers mapped on the GPU when queue is active. 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>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions