]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Fix GWS queue count
authorDavid Yat Sin <david.yatsin@amd.com>
Mon, 18 Apr 2022 15:55:58 +0000 (11:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Apr 2022 21:15:15 +0000 (17:15 -0400)
commitbdfef5856976a7f728dbe579ff319d75af2d1b5f
tree5c0c836d3b221a601b3ef6140bff7d22bc30bdd7
parent8dd3e26bbbc758feb75d55e38f0ba1ef6979f6d1
drm/amdkfd: Fix GWS queue count

dqm->gws_queue_count and pdd->qpd.mapped_gws_queue need to be updated
each time the queue gets evicted.

Fixes: c892e531cc9b ("drm/amdkfd: Enable over-subscription with >1 GWS queue")
Signed-off-by: David Yat Sin <david.yatsin@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c