diff options
| author | Chris Wilson <[email protected]> | 2017-10-18 13:16:21 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-10-18 15:46:11 +0100 |
| commit | b4a0b32d7a6024d9349fd464b3ae7a45048acd36 (patch) | |
| tree | f0eb2de9231b6581cc5f5a94d3aa865c66efd2e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c | |
| parent | 31d1d3c8862e88c8db1b0c9a560f2a76b1a4972b (diff) | |
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 <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions