diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-10-18 15:16:21 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-10-18 17:46:11 +0300 |
commit | b4a0b32d7a6024d9349fd464b3ae7a45048acd36 (patch) | |
tree | f0eb2de9231b6581cc5f5a94d3aa865c66efd2e4 /tools/perf/scripts/python/syscall-counts.py | |
parent | 31d1d3c8862e88c8db1b0c9a560f2a76b1a4972b (diff) | |
download | linux-b4a0b32d7a6024d9349fd464b3ae7a45048acd36.tar.xz |
drm/i915: Flush the idle-worker for debugfs/i915_drop_caches
After being requested to idle the GPU, flush the idle worker to drop the
residual active state, and any internal object caches.
v2: By popular demand, introduce DROP_IDLE for fine-grained control from
userspace, though it should be used as part of a
DROP_ACTIVE | DROP_RETIRE | DROP_IDLE | DROP_FREED
sequence.
v3: Convert to BIT() to sell it to Joonas.
References: https://bugs.freedesktop.org/show_bug.cgi?id=102655
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171018121621.10824-1-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions