Skip to content
Commit ac4eb83a authored by Christian König's avatar Christian König
Browse files

drm/sched: select new rq even if there is only one v3



This is necessary when changing priorities of an entity.

v2: test the sched_list instead of num_sched.
v3: set the sched_list to NULL when there is only one entry

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarSonny Jiang <sonny.jiang@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210305125155.2312-1-christian.koenig@amd.com
parent a9cdf680
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment