[Intel-gfx] [PATCH] drm/i915: Allow null render state batchbuffers bigger than one page

Mika Kuoppala mika.kuoppala at linux.intel.com
Tue May 2 09:17:04 UTC 2017


Chris Wilson <chris at chris-wilson.co.uk> writes:

> On Fri, Apr 28, 2017 at 09:11:06AM +0000, Oscar Mateo wrote:
>> The new batchbuffer for CNL surpasses the 4096 byte mark.
>> 
>> Cc: Mika Kuoppala <mika.kuoppala at intel.com>
>> Cc: Ben Widawsky <ben at bwidawsk.net>
>> Signed-off-by: Oscar Mateo <oscar.mateo at intel.com>
>
> Evil, 4k+ of nothing-ness that userspace then has to configure for itself
> for correctness anyway.
>
> Patch looks ok, but still question the sanity.

Is there a requirement for CNL to init the renderstate?

I would like to drop the render state init from CNL if
we can't find evidence that it needs it. Bspec indicates
that it doesnt.

-Mika

> -Chris
>
> -- 
> Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list