From: Christian Koenig Date: Wed, 16 May 2012 19:45:24 +0000 (+0200) Subject: drm/radeon: fix & improve ih ring handling v3 X-Git-Tag: v3.6-rc1~83^2~44^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c20dc3698dc7ecf053e2bf77299ae5982c0c2c45;p=pandora-kernel.git drm/radeon: fix & improve ih ring handling v3 The spinlock was actually there to protect the rptr, but rptr was read outside of the locked area. Also we don't really need a spinlock here, an atomic should to quite fine since we only need to prevent it from being reentrant. v2: Keep the spinlock.... v3: Back to an atomic again after finding & fixing the real bug. Signed-off-by: Christian Koenig --- Reading git-diff-tree failed