commit | c20dc3698dc7ecf053e2bf77299ae5982c0c2c45 | [log] [tgz] |
---|---|---|
author | Christian Koenig <christian.koenig@amd.com> | Wed May 16 21:45:24 2012 +0200 |
committer | Christian König <deathsimple@vodafone.de> | Thu Jun 21 09:38:48 2012 +0200 |
tree | e150268483bee4137d9c22e3121171b23a53be76 | |
parent | 6823d74003abedd688a3f535aefe6ce0e06444fd [diff] |
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 <christian.koenig@amd.com>