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

2010-01-25 Thread Jerome Glisse
n't test it, here is V3 tested on R6XX & R7XX. Cheers, Jerome >From 57fecda40f7fdda5500a361b2df2ac047dca5aba Mon Sep 17 00:00:00 2001 From: Jerome Glisse Date: Fri, 22 Jan 2010 15:19:00 +0100 Subject: [PATCH] drm/radeon/kms: Bailout of blit if error happen & protect with mutex V3

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 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 also prot

[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

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 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 also prot

[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