diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-03 10:17:19 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-03 12:24:08 +0100 |
| commit | 09480072e3ee471fe2735d46f454483f4c26853b (patch) | |
| tree | edd0b9dcd1835dcc240462d6211fbb8eb17e6438 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | d650d1f5cfd7ca607dbbb2023b76c2afa873246a (diff) | |
| download | linux-09480072e3ee471fe2735d46f454483f4c26853b.tar.gz linux-09480072e3ee471fe2735d46f454483f4c26853b.zip | |
drm/i915: Mark up vma->active as safe for use inside shrinkers
Since a shrinker may be forced to wait on GPU activity,
i915_active_wait(&vma->active) must be safe for use inside a shrinker,
and so let's mark up the lock as being acquired by the shrinker to avoid
any nasty surprises creeping in.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190703091726.11690-8-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
