commit | ba1234d17b3b1fe7087defb191a3c705f208aca6 | [log] [tgz] |
---|---|---|
author | Ben Gamari <bgamari.foss@gmail.com> | Mon Sep 14 17:48:47 2009 -0400 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Thu Sep 17 14:36:46 2009 -0700 |
tree | 1d26be1196eeef15dda3e5386cd021d94249f0be | |
parent | f316a42cc49eca73b33d85feb6177e32431747ff [diff] |
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: Ben Gamari <bgamari.foss@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>