linux_dsm_epyc7002/drivers/gpu/drm/amd
Andrey Grodzovsky 222b5f0441 drm/sched: Refactor ring mirror list handling.
Decauple sched threads stop and start and ring mirror
list handling from the policy of what to do about the
guilty jobs.
When stoppping the sched thread and detaching sched fences
from non signaled HW fenes wait for all signaled HW fences
to complete before rerunning the jobs.

v2: Fix resubmission of guilty job into HW after refactoring.

v4:
Full restart for all the jobs, not only from guilty ring.
Extract karma increase into standalone function.

v5:
Rework waiting for signaled jobs without relying on the job
struct itself as those might already be freed for non 'guilty'
job's schedulers.
Expose karma increase to drivers.

v6:
Use list_for_each_entry_safe_continue and drm_sched_process_job
in case fence already signaled.
Call drm_sched_increase_karma only once for amdgpu and add documentation.

v7:
Wait only for the latest job's fence.

Suggested-by: Christian Koenig <Christian.Koenig@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-01-25 16:15:36 -05:00
..
acp
amdgpu drm/sched: Refactor ring mirror list handling. 2019-01-25 16:15:36 -05:00
amdkfd drm/amdkfd: Don't assign dGPUs to APU topology devices 2019-01-14 15:37:33 -05:00
display drm/amd/display: change the max clock level to 16 2019-01-25 16:15:35 -05:00
include drm/amd/powerplay: support retrieving and adjusting dcefclock power levels V2 2019-01-25 16:15:34 -05:00
lib
powerplay drm/amd/powerplay: enable MGPU fan boost feature on Vega10 2019-01-25 16:15:36 -05:00