[Beignet] [PATCH] Flush the queue after enqueue.
Zhigang Gong
zhigang.gong at linux.intel.com
Wed Aug 14 03:23:22 PDT 2013
LGTM, pushed, thanks.
On Wed, Aug 14, 2013 at 07:29:18AM +0800, Zou Nan hai wrote:
> Flush the queue after enqueue.
> This can fix some random fails in unit tests.
>
> Signed-off-by: Zou Nan hai <nanhai.zou at intel.com>
> ---
> src/intel/intel_gpgpu.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/intel/intel_gpgpu.c b/src/intel/intel_gpgpu.c
> index 357fcaf..1301b66 100644
> --- a/src/intel/intel_gpgpu.c
> +++ b/src/intel/intel_gpgpu.c
> @@ -375,6 +375,7 @@ intel_gpgpu_check_binded_buf_address(intel_gpgpu_t *gpgpu)
> static void
> intel_gpgpu_flush(intel_gpgpu_t *gpgpu)
> {
> + intel_batchbuffer_emit_mi_flush(gpgpu->batch);
> intel_batchbuffer_flush(gpgpu->batch);
> intel_gpgpu_check_binded_buf_address(gpgpu);
> }
> --
> 1.7.9.5
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list