diff options
| author | Chris Wilson <[email protected]> | 2020-02-28 13:17:12 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-02-28 22:03:39 +0000 |
| commit | 1a2695a7465971f28d8c44d6a282b6a2dd91e96f (patch) | |
| tree | 4d590ff1f9a65223a85ef5ed8666020c4c2a317f /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 6e57cc39420c1d13d92c46ea662a7f9f5368f2ee (diff) | |
drm/i915/gt: Expose timeslice duration to sysfs
Execlists uses a scheduling quantum (a timeslice) to alternate execution
between ready-to-run contexts of equal priority. This ensures that all
users (though only if they of equal importance) have the opportunity to
run and prevents livelocks where contexts may have implicit ordering due
to userspace semaphores.
The timeslicing mechanism can be compiled out with
./scripts/config --set-val DRM_I915_TIMESLICE_DURATION 0
The timeslice duration can be adjusted per-engine using,
/sys/class/drm/card?/engine/*/timeslice_duration_ms
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Steve Carbonari <[email protected]>
Tested-by: Steve Carbonari <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions