aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorNirmoy Das <[email protected]>2020-01-15 14:06:04 +0000
committerAlex Deucher <[email protected]>2020-01-16 18:37:54 +0000
commit56822db194232c089601728d68ed078dccb97f8b (patch)
treec90d40644880a4ba8e6e5166f99bd2d0e76ae05f /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdrm/amdgpu/vcn2.5: implement indirect DPG SRAM mode (diff)
downloadkernel-56822db194232c089601728d68ed078dccb97f8b.tar.gz
kernel-56822db194232c089601728d68ed078dccb97f8b.zip
drm/scheduler: improve job distribution with multiple queues
This patch uses score based logic to select a new rq for better loadbalance between multiple rq/scheds instead of num_jobs. Below are test results after running amdgpu_test from mesa drm Before this patch: sched_name num of many times it got scheduled ========= ================================== sdma0 314 sdma1 32 comp_1.0.0 56 comp_1.0.1 0 comp_1.1.0 0 comp_1.1.1 0 comp_1.2.0 0 comp_1.2.1 0 comp_1.3.0 0 comp_1.3.1 0 After this patch: sched_name num of many times it got scheduled ========= ================================== sdma0 216 sdma1 185 comp_1.0.0 39 comp_1.0.1 9 comp_1.1.0 12 comp_1.1.1 0 comp_1.2.0 12 comp_1.2.1 0 comp_1.3.0 12 comp_1.3.1 0 Signed-off-by: Nirmoy Das <[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_pm.c')
0 files changed, 0 insertions, 0 deletions