diff options
author | Chris Wilson <[email protected]> | 2017-03-16 17:13:02 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2017-03-16 17:17:10 +0000 |
commit | 8c185ecaf4ee6966144c3897afdda557c5849bb0 (patch) | |
tree | 15b61ddfb7c8d167886dfe927245ac8ccbfdc488 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 3fc03069bc6e6c316f19bb526e3c8ce784677477 (diff) |
drm/i915: Split I915_RESET_IN_PROGRESS into two flags
I915_RESET_IN_PROGRESS is being used for both signaling the requirement
to i915_mutex_lock_interruptible() to avoid taking the struct_mutex and
to instruct a waiter (already holding the struct_mutex) to perform the
reset. To allow for a little more coordination, split these two meaning
into a couple of distinct flags. I915_RESET_BACKOFF tells
i915_mutex_lock_interruptible() not to acquire the mutex and
I915_RESET_HANDOFF tells the waiter to call i915_reset().
Signed-off-by: Chris Wilson <[email protected]>
Acked-by: Michel Thierry <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions