commit | ec2edcc2796c892aa0cc4740ce00a22fe57d2a1c | [log] [tgz] |
---|---|---|
author | Nirmoy Das <nirmoy.das@amd.com> | Fri Mar 13 11:39:27 2020 +0100 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Mar 16 16:21:32 2020 -0400 |
tree | 3e6c3e650937fb3ba35cc50ae0ed9fda46044a9d | |
parent | d164bebb95516c9dd2a63cf8c8e9fe0b13d7474e [diff] |
drm/sched: implement and export drm_sched_pick_best Remove drm_sched_entity_get_free_sched() and use the logic of picking the least loaded drm scheduler from a drm scheduler list to implement drm_sched_pick_best(). This patch also exports drm_sched_pick_best() so that it can be utilized by other drm drivers. Signed-off-by: Nirmoy Das <nirmoy.das@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>