diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-25 19:22:06 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-25 19:23:21 +0000 |
| commit | cb4d5dc3e7a8420f9894668268676a66a0e8a601 (patch) | |
| tree | e1366aa9eb8ea9a0e184026adf945515cf85f8c5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 88be76cdafc7e60e2e4ed883bfe7e8dd7f35fa3a (diff) | |
drm/i915/gem: Honour O_NONBLOCK before throttling execbuf submissions
Check the user's flags on the struct file before deciding whether or not
to stall before submitting a request. This allows us to reasonably
cheaply honour O_NONBLOCK without checking at more critical phases
during request submission.
Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Steve Carbonari <steven.carbonari@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200225192206.1107336-3-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
