[Mesa-dev] [PATCH] r600g: Manage fences per screen rather than per context.

Mathias Fröhlich Mathias.Froehlich at gmx.net
Thu Dec 29 08:27:04 PST 2011


Hi,

On Thursday, December 29, 2011 15:34:24 Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
> 
> A fence is a screen object and can outlive the context it was created from.
> The previous code would access freed memory in that case, resulting in
> various problems.
> 
> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=44151
> 
> Probably fixes: https://bugs.freedesktop.org/show_bug.cgi?id=44007
>                 https://bugs.freedesktop.org/show_bug.cgi?id=43993
> ... and likely a fair number of similar issues.
> 
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> ---
> 
> v2: Add pipe_mutex_destroy() call for newly added mutex.
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

Greetings

Mathias


More information about the mesa-dev mailing list