diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2012-06-04 14:42:53 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-06-14 17:36:20 +0200 |
commit | f2ef6eb1453a95ce8ab388493793c54a6bedc405 (patch) | |
tree | ca12532b5514eb82e2e85206941b3652dad7d0fc /include/drm | |
parent | b9a3906b609c4b546f00483089516c65fb2ff014 (diff) | |
download | op-kernel-dev-f2ef6eb1453a95ce8ab388493793c54a6bedc405.zip op-kernel-dev-f2ef6eb1453a95ce8ab388493793c54a6bedc405.tar.gz |
drm/i915: switch to default context on idle
To keep things as sane as possible, switch to the default context before
idling. This should help free context objects, as well as put things in
a more well defined state before suspending.
v2: remove seqno from context switch call (daniel)
return error on failed context switch instead of WARN+continue (daniel)
v3: move idling to i915_gpu idle (from i915_gem_idle) (Chris)
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions