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)
commit0ccbc7cdf54d855f48a023464c207e9d5ca2b6f1
tree85cd71e1b543b55f171c95996625e3723a15e478
parentbb2d2128a54c48355249b56cbc898a89e76ba7a1
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