aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
diff options
context:
space:
mode:
authorNirmoy Das <[email protected]>2021-08-24 18:39:18 +0000
committerAlex Deucher <[email protected]>2021-09-01 20:55:11 +0000
commit84d588c3de84d07ef83608b60faa4fffdea32aad (patch)
tree5653868a273ad413c469f4432c8ab9c50e5daed3 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
parentdrm/amd/display: 3.2.150 (diff)
downloadkernel-84d588c3de84d07ef83608b60faa4fffdea32aad.tar.gz
kernel-84d588c3de84d07ef83608b60faa4fffdea32aad.zip
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 <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h')
0 files changed, 0 insertions, 0 deletions