diff options
| author | Chris Wilson <[email protected]> | 2020-02-28 13:17:15 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-02-28 22:03:46 +0000 |
| commit | db3d8338bacbfc734d246eaccfbe5b19ad81d7d4 (patch) | |
| tree | d358edbe0fd333e37bfcb3d895bd564ee7406e06 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 72338a1f5ef8a480184aac48bcc8e9f7d4d0d0a5 (diff) | |
drm/i915/gt: Expose preempt reset timeout via sysfs
After initialising a preemption request, we give the current resident a
small amount of time to vacate the GPU. The preemption request is for a
higher priority context and should be immediate to maintain high
quality of service (and avoid priority inversion). However, the
preemption granularity of the GPU can be quite coarse and so we need a
compromise.
The preempt timeout can be adjusted per-engine using,
/sys/class/drm/card?/engine/*/preempt_timeout_ms
and can be disabled by setting it to 0.
Signed-off-by: Chris Wilson <[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