[Beignet] [PATCH] Remove obsolete MI_FLUSH

Zhigang Gong zhigang.gong at linux.intel.com
Sun Dec 28 18:06:58 PST 2014


When does the kernel do instruction cache invalidate for us?
Could you give a pointer to the related code.

I also tested it and found many utests failures. My kernel version is
as below:

Linux ivb-gt2-rev4 3.17.1 #1 SMP Fri Oct 24 14:45:46 CST 2014 x86_64 x86_64 x86_64 GNU/Linux

On Mon, Dec 29, 2014 at 10:53:58AM +0800, Zhenyu Wang wrote:
> On 2014.12.29 09:43:45 +0800, Zhigang Gong wrote:
> > If remove the MI_FLUSH, we need to add instruction cache invalidate
> > flag to the corresponding pipe control command.
> >
> 
> Like flush, kernel will do invalidate for you with instruction
> cache invalidate bit set.
> 
> I've done all utest with this patch and found no regression.
> Do you think it needs other test as well?
> 
> -- 
> Open Source Technology Center, Intel ltd.
> 
> $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827



> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet



More information about the Beignet mailing list