Re: [RFC PATCH 2/4] drm/scheduler: implement a function to modify sched list

2020-03-03 Thread Luben Tuikov
On 2020-03-03 14:06, Christian König wrote: > Am 02.03.20 um 21:47 schrieb Luben Tuikov: >> On 2020-02-28 2:47 a.m., Christian König wrote: >>> Am 28.02.20 um 06:08 schrieb Luben Tuikov: On 2020-02-27 4:40 p.m., Nirmoy Das wrote: > [SNIP] > + if (!(entity && sched_list &&

Re: [RFC PATCH 2/4] drm/scheduler: implement a function to modify sched list

2020-03-03 Thread Christian König
Am 02.03.20 um 21:47 schrieb Luben Tuikov: On 2020-02-28 2:47 a.m., Christian König wrote: Am 28.02.20 um 06:08 schrieb Luben Tuikov: On 2020-02-27 4:40 p.m., Nirmoy Das wrote: [SNIP] + if (!(entity && sched_list && (num_sched_list == 0 || sched_list[0]))) + return

Re: [RFC PATCH 2/4] drm/scheduler: implement a function to modify sched list

2020-03-02 Thread Luben Tuikov
On 2020-02-28 2:47 a.m., Christian König wrote: > Am 28.02.20 um 06:08 schrieb Luben Tuikov: >> On 2020-02-27 4:40 p.m., Nirmoy Das wrote: >>> implement drm_sched_entity_modify_sched() which can modify existing >>> sched_list with a different one. This is going to be helpful when >>> userspace

Re: [RFC PATCH 2/4] drm/scheduler: implement a function to modify sched list

2020-02-28 Thread Nirmoy
On 2/28/20 8:47 AM, Christian König wrote: Am 28.02.20 um 06:08 schrieb Luben Tuikov: On 2020-02-27 4:40 p.m., Nirmoy Das wrote: implement drm_sched_entity_modify_sched() which can modify existing sched_list with a different one. This is going to be helpful when userspace changes priority of

Re: [RFC PATCH 2/4] drm/scheduler: implement a function to modify sched list

2020-02-27 Thread Christian König
Am 28.02.20 um 06:08 schrieb Luben Tuikov: On 2020-02-27 4:40 p.m., Nirmoy Das wrote: implement drm_sched_entity_modify_sched() which can modify existing sched_list with a different one. This is going to be helpful when userspace changes priority of a ctx/entity then driver can switch to

Re: [RFC PATCH 2/4] drm/scheduler: implement a function to modify sched list

2020-02-27 Thread Luben Tuikov
On 2020-02-27 4:40 p.m., Nirmoy Das wrote: > implement drm_sched_entity_modify_sched() which can modify existing > sched_list with a different one. This is going to be helpful when > userspace changes priority of a ctx/entity then driver can switch to > corresponding hw shced list for that

[RFC PATCH 2/4] drm/scheduler: implement a function to modify sched list

2020-02-27 Thread Nirmoy Das
implement drm_sched_entity_modify_sched() which can modify existing sched_list with a different one. This is going to be helpful when userspace changes priority of a ctx/entity then driver can switch to corresponding hw shced list for that priority Signed-off-by: Nirmoy Das ---