Re: [PATCH] drm/radeon/kms: Bailout of blit if error happen protect with mutex V2

2010-01-25 Thread Jerome Glisse
On Mon, Jan 25, 2010 at 04:02:37PM +1000, Dave Airlie wrote: On Sat, Jan 23, 2010 at 1:56 AM, Jerome Glisse jgli...@redhat.com wrote: If an error happen in r600_blit_prepare_copy report it rather than WARNING and keeping execution. For instance if ib allocation failed we did just warn about

Re: [PATCH] drm/radeon/kms: Bailout of blit if error happen protect with mutex V2

2010-01-24 Thread Dave Airlie
On Sat, Jan 23, 2010 at 1:56 AM, Jerome Glisse jgli...@redhat.com wrote: If an error happen in r600_blit_prepare_copy report it rather than WARNING and keeping execution. For instance if ib allocation failed we did just warn about but then latter tried to access NULL ib ptr causing oops. This

[PATCH] drm/radeon/kms: Bailout of blit if error happen protect with mutex

2010-01-22 Thread Jerome Glisse
If an error happen in r600_blit_prepare_copy report it rather than WARNING and keeping execution. For instance if ib allocation failed we did just warn about but then latter tried to access NULL ib ptr causing oops. This patch also protect r600_copy_blit with a mutex as otherwise one process might

Re: [PATCH] drm/radeon/kms: Bailout of blit if error happen protect with mutex

2010-01-22 Thread Alex Deucher
On Fri, Jan 22, 2010 at 9:24 AM, Jerome Glisse jgli...@redhat.com wrote: If an error happen in r600_blit_prepare_copy report it rather than WARNING and keeping execution. For instance if ib allocation failed we did just warn about but then latter tried to access NULL ib ptr causing oops. This

[PATCH] drm/radeon/kms: Bailout of blit if error happen protect with mutex V2

2010-01-22 Thread Jerome Glisse
If an error happen in r600_blit_prepare_copy report it rather than WARNING and keeping execution. For instance if ib allocation failed we did just warn about but then latter tried to access NULL ib ptr causing oops. This patch also protect r600_copy_blit with a mutex as otherwise one process might