drm/amdgpu
Andres Rodriguez 35bc82cee9 amdgpu: implement context priority for amdgpu_cs_ctx_create2 v3
Add a new context creation function that allows specifying the context
priority.

A high priority context has the potential of starving lower priority
contexts. The current kernel driver implementation allows only apps
that hold CAP_SYS_NICE or DRM_MASTER to acquire a priority above
AMDGPU_CTX_PRIORITY_NORMAL.

v2: corresponding changes for kernel patch v2
v3: Fixed 'make check' symbol error

Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2017-10-20 21:51:02 +02:00
..
.editorconfig amdgpu: Add .editorconfig file for amdgpu coding style 2017-06-13 10:20:16 +09:00
Android.mk Android: move libraries to /vendor 2017-10-09 09:22:35 -05:00
Makefile.am amdgpu: move asic id table to a separate file 2017-06-13 10:21:39 +09:00
Makefile.sources amdgpu: move asic id table to a separate file 2017-06-13 10:21:39 +09:00
amdgpu-symbol-check amdgpu: implement context priority for amdgpu_cs_ctx_create2 v3 2017-10-20 21:51:02 +02:00
amdgpu.h amdgpu: implement context priority for amdgpu_cs_ctx_create2 v3 2017-10-20 21:51:02 +02:00
amdgpu_asic_id.c amdgpu: Do not write beyond allocated memory when parsing ids 2017-09-04 23:48:54 -04:00
amdgpu_bo.c amdgpu: merge and cleanup amdgpu_bo_free 2017-08-08 12:16:20 -04:00
amdgpu_cs.c amdgpu: implement context priority for amdgpu_cs_ctx_create2 v3 2017-10-20 21:51:02 +02:00
amdgpu_device.c amdgpu: print error messages when amdgpu_device_initialize is failing 2017-09-28 22:48:26 +02:00
amdgpu_gpu_info.c amdgpu/: concisely && consistently check null ptrs in canonical form 2017-04-19 18:08:10 +10:00
amdgpu_internal.h amdgpu: merge and cleanup amdgpu_bo_free 2017-08-08 12:16:20 -04:00
amdgpu_vamgr.c amdgpu: vamgr can be a struct instead of a pointer 2017-02-02 15:22:53 -05:00
libdrm_amdgpu.pc.in amdgpu: add libdrm as private requirement/dependency 2016-02-04 13:22:50 +00:00
util_hash.c amdgpu: add a bunch of missing config.h includes 2015-08-13 17:43:24 +01:00
util_hash.h amdgpu/util_hash: hide private symbols from global namespace 2015-08-13 17:43:19 +01:00
util_hash_table.c amdgpu: add a bunch of missing config.h includes 2015-08-13 17:43:24 +01:00
util_hash_table.h amdgpu/util_hash_table: hide private symbols from global namespace 2015-08-13 17:43:22 +01:00