[PATCH] drm/radeon: add locking around atombios scratch space usage

2014-11-11 Thread Alex Deucher
On Mon, Nov 10, 2014 at 6:16 PM, Dave Airlie wrote: > From: Dave Airlie > > While developing MST support I noticed I often got the wrong data > back from a transaction, in a racy fashion. I noticed the scratch > space wasn't locked against concurrent users. > > Based on a patch by Alex, but I've

[PATCH] drm/radeon: add locking around atombios scratch space usage

2014-11-11 Thread Dave Airlie
From: Dave Airlie While developing MST support I noticed I often got the wrong data back from a transaction, in a racy fashion. I noticed the scratch space wasn't locked against concurrent users. Based on a patch by Alex, but I've made it a bit more obvious when things are locked. Signed-off-by