diff options
| author | Nayan Deshmukh <[email protected]> | 2018-08-01 08:20:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-08-27 16:09:45 +0000 |
| commit | 97ffa35b5dec4e68baa85e626b69ae4949a4ca2a (patch) | |
| tree | a1224772b9f14934e31240212528ef1ab238604e /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | drm/scheduler: add counter for total jobs in scheduler (diff) | |
| download | kernel-97ffa35b5dec4e68baa85e626b69ae4949a4ca2a.tar.gz kernel-97ffa35b5dec4e68baa85e626b69ae4949a4ca2a.zip | |
drm/scheduler: add new function to get least loaded sched v2
The function selects the run queue from the rq_list with the
least load. The load is decided by the number of jobs in a
scheduler.
v2: avoid using atomic read twice consecutively, instead store
it locally
Signed-off-by: Nayan Deshmukh <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
