diff options
author | 2018-08-01 13:50:01 +0530 | |
---|---|---|
committer | 2018-08-27 11:09:45 -0500 | |
commit | 97ffa35b5dec4e68baa85e626b69ae4949a4ca2a (patch) | |
tree | a1224772b9f14934e31240212528ef1ab238604e /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | drm/scheduler: add counter for total jobs in scheduler (diff) | |
download | linux-rng-97ffa35b5dec4e68baa85e626b69ae4949a4ca2a.tar.xz linux-rng-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 <nayan26deshmukh@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions