diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2025-02-27 00:55:36 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-04-21 17:56:21 +0300 |
commit | 024cc8a71aac8194fc2883782d36cbad6a9fe36b (patch) | |
tree | d5bd116e896bc46d7ea79a7866600f0f5b25bb21 /drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h | |
parent | fced8e7d2ddeba7f41b19e065f8c02a9abf9ac00 (diff) | |
download | linux-024cc8a71aac8194fc2883782d36cbad6a9fe36b.tar.xz |
drm/amdgpu/userq: add UAPI for setting queue priority
Allow the user to set a queue priority levels:
0 - normal low - most apps (maps to MES AMD_PRIORITY_LEVEL_NORMAL)
1 - low - background jobs (maps to MES AMD_PRIORITY_LEVEL_LOW)
2 - normal high - apps that need relative high (maps to MES AMD_PRIORITY_LEVEL_MEDIUM)
3 - high (admin only - for compositors) (maps to MES AMD_PRIORITY_LEVEL_HIGH)
Reviewed-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Jesse.Zhang <Jesse.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.h')
0 files changed, 0 insertions, 0 deletions