]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdkfd: Add queue to MES if it becomes active
authorPhilip Yang <Philip.Yang@amd.com>
Wed, 15 Jun 2022 20:26:35 +0000 (16:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jun 2022 20:54:45 +0000 (16:54 -0400)
commitf4f9b827d76d2fa23c2a2359b4e9fb417deec61a
treeb06264fd9dc9f6d5f64f55985651fcc640cad948
parenteec53143b7fe1ccaace434e03b5959c9117bf9c5
drm/amdkfd: Add queue to MES if it becomes active

We remove the user queue from MES scheduler to update queue properties.
If the queue becomes active after updating, add the user queue to MES
scheduler, to be able to handle command packet submission.

v2: don't break pqm_set_gws

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Graham Sider <Graham.Sider@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c