diff options
| author | Nirmoy Das <[email protected]> | 2021-08-24 20:39:18 +0200 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-09-01 16:55:11 -0400 |
| commit | 84d588c3de84d07ef83608b60faa4fffdea32aad (patch) | |
| tree | 5653868a273ad413c469f4432c8ab9c50e5daed3 /tools/perf/scripts/python | |
| parent | 391ac13539cadf3377460bb7140829ee99799de4 (diff) | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions