Re: [Intel-gfx] [Intel gfx][i-g-t PATCH 3/4] rendercopy/bdw: A workaround for 3D pipeline

2013-12-08 Thread Xiang, Haihao
On Fri, 2013-12-06 at 13:30 +, Damien Lespiau wrote: On Fri, Dec 06, 2013 at 04:54:46PM +0800, Xiang, Haihao wrote: From: Xiang, Haihao haihao.xi...@intel.com Emit PIPELINE_SELECT twice and make sure the commands in the first batch buffer have been done. However I don't know

Re: [Intel-gfx] [Intel gfx][i-g-t PATCH 3/4] rendercopy/bdw: A workaround for 3D pipeline

2013-12-08 Thread Daniel Vetter
On Mon, Dec 9, 2013 at 5:47 AM, Xiang, Haihao haihao.xi...@intel.com wrote: Oh, it works even with an batch which has only MI_BATCH_BUFFER_END. This sounds like we're missing a tlb/cache invalidate before launching the batch in the kernel. But the big flush we unconditionally do after each batch

[Intel-gfx] [Intel gfx][i-g-t PATCH 3/4] rendercopy/bdw: A workaround for 3D pipeline

2013-12-06 Thread Xiang, Haihao
From: Xiang, Haihao haihao.xi...@intel.com Emit PIPELINE_SELECT twice and make sure the commands in the first batch buffer have been done. However I don't know why this works !!! Signed-off-by: Xiang, Haihao haihao.xi...@intel.com --- lib/rendercopy_gen8.c | 19 +-- 1 file

Re: [Intel-gfx] [Intel gfx][i-g-t PATCH 3/4] rendercopy/bdw: A workaround for 3D pipeline

2013-12-06 Thread Damien Lespiau
On Fri, Dec 06, 2013 at 04:54:46PM +0800, Xiang, Haihao wrote: From: Xiang, Haihao haihao.xi...@intel.com Emit PIPELINE_SELECT twice and make sure the commands in the first batch buffer have been done. However I don't know why this works !!! Hum :) on one hand, it's great that you found