Radeon: race in dp aux code on atom scratch
Alex Deucher
alexdeucher at gmail.com
Mon Nov 10 08:35:39 PST 2014
On Mon, Nov 10, 2014 at 2:47 AM, Dave Airlie <airlied at gmail.com> wrote:
> Hey,
>
> I think I spotted a problem in the atombios auxch code, we lock the chan
> mutex, access atom scratch and then call atom execute.
>
> Now atom execute is protected by a mutex, but if multiple aux channels are
> accessed we will collide on the scratch area,
>
> Any ideas on best fix?
Just adding another mutex for the scratch buffer seems like the
easiest solution to me. How about the attached patch?
Alex
>
> Dave.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-radeon-protect-atom-scratch-buffer-with-a-mutex.patch
Type: text/x-diff
Size: 4036 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141110/8db2a2fe/attachment.patch>
More information about the dri-devel
mailing list