[PATCH 7/8] drm/amdgpu: add plumbing for ctx priority changes v2

2017-09-21 Thread Andres Rodriguez
Introduce amdgpu_ctx_priority_override(). A mechanism to override a context's priority. An override can be terminated by setting the override to AMD_SCHED_PRIORITY_UNSET. v2: change refcounted interface for a direct set Signed-off-by: Andres Rodriguez Acked-by: Christian König --- drivers/gpu

[PATCH 7/8] drm/amdgpu: add plumbing for ctx priority changes v2

2017-07-07 Thread Andres Rodriguez
Introduce amdgpu_ctx_priority_override(). A mechanism to override a context's priority. An override can be terminated by setting the override to AMD_SCHED_PRIORITY_UNSET. v2: change refcounted interface for a direct set Signed-off-by: Andres Rodriguez Acked-by: Christian König --- drivers/gpu

[PATCH 7/8] drm/amdgpu: add plumbing for ctx priority changes v2

2017-06-26 Thread Andres Rodriguez
Introduce amdgpu_ctx_priority_override(). A mechanism to override a context's priority. An override can be terminated by setting the override to AMD_SCHED_PRIORITY_UNSET. v2: change refcounted interface for a direct set Signed-off-by: Andres Rodriguez --- drivers/gpu/drm/amd/amdgpu/amdgpu.h

Re: [PATCH 7/8] drm/amdgpu: add plumbing for ctx priority changes

2017-06-09 Thread Andres Rodriguez
On 2017-06-09 07:11 AM, Christian König wrote: Am 09.06.2017 um 00:06 schrieb Andres Rodriguez: Introduce amdgpu_ctx_priority_get/put(). This a refcounted mechanism to change a context's priority. A context's priority will be set to the highest priority for which a request exists. If no acti

Re: [PATCH 7/8] drm/amdgpu: add plumbing for ctx priority changes

2017-06-09 Thread Christian König
Am 09.06.2017 um 00:06 schrieb Andres Rodriguez: Introduce amdgpu_ctx_priority_get/put(). This a refcounted mechanism to change a context's priority. A context's priority will be set to the highest priority for which a request exists. If no active requests exist, the context will default to the

[PATCH 7/8] drm/amdgpu: add plumbing for ctx priority changes

2017-06-08 Thread Andres Rodriguez
Introduce amdgpu_ctx_priority_get/put(). This a refcounted mechanism to change a context's priority. A context's priority will be set to the highest priority for which a request exists. If no active requests exist, the context will default to the priority requested at context allocation time. No