On Mon, 16 Apr 2012 14:07:45 -0700, Ben Widawsky <[email protected]> wrote:
>       rem /= 8;
>       while (rem--) {
> -             *virt++ = MI_NOOP;
> -             *virt++ = MI_NOOP;
> +             iowrite32(MI_NOOP, virt);
> +             virt+=4;
> +             iowrite32(MI_NOOP, virt);
> +             virt+=4;
Might as well use memset_io().
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to