aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndres Rodriguez2017-10-20 09:57:59 -0500
committerBas Nieuwenhuizen2017-10-20 14:51:02 -0500
commit35bc82cee9aab62d556e2ea6dfe29f71ce13dcb3 (patch)
tree7f35ba43a4ab4878e222fa2e811031c04a4e1629 /xf86drmMode.c
parentbcae7226a1c36bee22ad747dc12960e52a706cfa (diff)
downloadexternal-libgbm-35bc82cee9aab62d556e2ea6dfe29f71ce13dcb3.tar.gz
external-libgbm-35bc82cee9aab62d556e2ea6dfe29f71ce13dcb3.tar.xz
external-libgbm-35bc82cee9aab62d556e2ea6dfe29f71ce13dcb3.zip
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>
Diffstat (limited to 'xf86drmMode.c')
0 files changed, 0 insertions, 0 deletions