linux-xiaomi-chiron/drivers/gpu/drm/amd
Nirmoy Das 84d588c3de drm/amdgpu: rework context priority handling
To get a hardware queue priority for a context, we are currently
mapping AMDGPU_CTX_PRIORITY_* to DRM_SCHED_PRIORITY_* and then
to hardware queue priority, which is not the right way to do that
as DRM_SCHED_PRIORITY_* is software scheduler's priority and it is
independent from a hardware queue priority.

Use userspace provided context priority, AMDGPU_CTX_PRIORITY_* to
map a context to proper hardware queue priority.

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-09-01 16:55:11 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: rework context priority handling 2021-09-01 16:55:11 -04:00
amdkfd drm/amdkfd: drop process ref count when xnack disable 2021-09-01 16:55:09 -04:00
display drm/amd/display: 3.2.150 2021-09-01 16:55:11 -04:00
include drm/amd/display: Add DP 2.0 BIOS and DMUB Support 2021-09-01 16:55:10 -04:00
pm drm/amdgpu: enable more pm sysfs under SRIOV 1-VF mode 2021-08-31 14:20:41 -04:00