Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: clean up the userq unmap error handler

amdgpu_userq_unmap_helper() already handles the unmap error case.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 66cb6579990b633ccc7300c27011d837b9a58da0)

authored by

Prike Liang and committed by
Alex Deucher
8f935acb 3b0ea202

-6
-6
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
··· 656 656 #endif 657 657 amdgpu_userq_detect_and_reset_queues(uq_mgr); 658 658 r = amdgpu_userq_unmap_helper(queue); 659 - /*TODO: It requires a reset for userq hw unmap error*/ 660 - if (r) { 661 - drm_warn(adev_to_drm(uq_mgr->adev), "trying to destroy a HW mapping userq\n"); 662 - queue->state = AMDGPU_USERQ_STATE_HUNG; 663 - } 664 - 665 659 atomic_dec(&uq_mgr->userq_count[queue->queue_type]); 666 660 amdgpu_userq_cleanup(queue); 667 661 mutex_unlock(&uq_mgr->userq_mutex);