Skip to content
Commit ba1234d1 authored by Ben Gamari's avatar Ben Gamari Committed by Jesse Barnes
Browse files

drm/i915: Make dev_priv->mm.wedged an atomic_t



There is a very real possibility that multiple CPUs will notice that the
GPU is wedged. This introduces all sorts of potential race conditions.
Make the wedged flag atomic to mitigate this risk.

Signed-off-by: default avatarBen Gamari <bgamari.foss@gmail.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent f316a42c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment