]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: CP queue priority controls
authorOak Zeng <Oak.Zeng@amd.com>
Tue, 7 Feb 2017 21:40:14 +0000 (15:40 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jun 2019 17:35:15 +0000 (12:35 -0500)
commit297f6ff6f0bd742fe4c52ae718cf3283b703d476
tree85cd71e1b543b55f171c95996625e3723a15e478
parentd04af5819db0a3eb4bc6e8d09348e0ab1219d9c2
drm/amdkfd: CP queue priority controls

Translate queue priority into pipe priority and write to MQDs.
The priority values are used to perform queue and pipe arbitration.

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h