diff options
| author | Chris Wilson <[email protected]> | 2019-06-10 15:54:30 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-06-10 20:43:08 +0100 |
| commit | a8cff4c8283af35546339c9ada5a90a70fe4a075 (patch) | |
| tree | 1d82abc371c71d0a24b33a943ee72f6dcd3b0c6a /tools/perf/scripts/python/stat-cpi.py | |
| parent | f4d57d838c48ebb123f9032cca0e5697c457868f (diff) | |
drm/i915: Promote i915->mm.obj_lock to be irqsafe
The intent is to be able to update the mm.lists from inside an irqsoff
section (e.g. from a softirq rcu workqueue), ergo we need to make the
i915->mm.obj_lock irqsafe.
v2: can_discard_pages() ensures we are shrinkable
v3: Beware shadowing of 'flags'
Fixes: 3b4fa9640ccd ("drm/i915: Track the purgeable objects on a separate eviction list")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110869
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions