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?
Dave.
On Mon, Nov 10, 2014 at 2:47 AM, Dave Airlie airlied@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.
dri-devel@lists.freedesktop.org