]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: Validate user queue update
authorPhilip Yang <Philip.Yang@amd.com>
Thu, 20 Jun 2024 17:00:48 +0000 (13:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Jul 2024 18:43:49 +0000 (14:43 -0400)
commit305cd109b761202d71f2f655ea369fe889ba1d01
treed0553a84a8ad71769a798a8ed20a55fa2d8d4403
parentb049504e211e8f4dbcd40434f2dcab2215ea1039
drm/amdkfd: Validate user queue update

Ensure update queue new ring buffer is mapped on GPU with correct size.

Decrease queue old ring_bo queue_refcount and increase new ring_bo
queue_refcount.

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>
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c