Re: [PATCH 1/4] drm/amdgpu: add parameter to allocate high priority contexts v7

2017-04-14 Thread Andres Rodriguez
On 2017-04-14 03:15 PM, Andres Rodriguez wrote: MrCooper just pointed me to the following EGL extension last night: https://www.khronos.org/registry/EGL/extensions/IMG/EGL_IMG_context_priority.txt I think it might be a good idea to add an AMDGPU_CTX_PRIORITY_LOW to the kernel ABI in this patc

Re: [PATCH 1/4] drm/amdgpu: add parameter to allocate high priority contexts v7

2017-04-14 Thread Andres Rodriguez
MrCooper just pointed me to the following EGL extension last night: https://www.khronos.org/registry/EGL/extensions/IMG/EGL_IMG_context_priority.txt I think it might be a good idea to add an AMDGPU_CTX_PRIORITY_LOW to the kernel ABI in this patch in order to accommodate that extension. Regards

[PATCH 1/4] drm/amdgpu: add parameter to allocate high priority contexts v7

2017-04-13 Thread Andres Rodriguez
Add a new context creation parameter to express a global context priority. Contexts allocated with AMDGPU_CTX_PRIORITY_HIGH will receive higher priority to schedule their work than AMDGPU_CTX_PRIORITY_NORMAL (default) contexts. v2: Instead of using flags, repurpose __pad v3: Swap enum values of _