From: Eric Anholt Date: Mon, 1 Sep 2008 23:45:29 +0000 (-0700) Subject: i915: Use struct_mutex to protect ring in GEM mode. X-Git-Tag: v2.6.28-rc1~255^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=546b0974c39657017407c86fe79811100b60700d;p=pandora-kernel.git i915: Use struct_mutex to protect ring in GEM mode. In the conversion for GEM, we had stopped using the hardware lock to protect ring usage, since it was all internal to the DRM now. However, some paths weren't converted to using struct_mutex to prevent multiple threads from concurrently working on the ring, in particular between the vblank swap handler and ioctls. Signed-off-by: Eric Anholt Signed-off-by: Dave Airlie --- Reading git-diff-tree failed