diff options
author | Keith Packard <keithp@keithp.com> | 2008-10-14 21:41:13 -0700 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-10-18 07:10:53 +1000 |
commit | 6dbe2772d6af067845bab57be490c302f4490ac7 (patch) | |
tree | 5d84600a5ff20a5c5390c02df2400b626ac9b140 /include/drm | |
parent | ba1eb1d825fdef40f69871caf8e5842d00efbbc5 (diff) | |
download | op-kernel-dev-6dbe2772d6af067845bab57be490c302f4490ac7.zip op-kernel-dev-6dbe2772d6af067845bab57be490c302f4490ac7.tar.gz |
i915: Don't run retire work handler while suspended
At leavevt and lastclose time, cancel any pending retire work handler
invocation, and keep the retire work handler from requeuing itself if it is
currently running.
This patch restructures i915_gem_idle to perform all of these tasks instead
of having both leavevt and lastclose call a sequence of functions.
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions