[Mesa-dev] [PATCH 0/6] Enable OpenGL 4.0 on Haswell

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 3 11:14:00 UTC 2017


On Tue, Jan 03, 2017 at 11:42:50AM +0100, Iago Toral Quiroga wrote:
> Enabling GL 4.0 in gen7 requires a bit of work because some hardware and kernel
> combinations may not support all the features. Specifically, we need to know
> if the kernel can do pipelined register writes. Unfortunately, this requires
> that we emit batches at screen creation time when we don't have a brw_context
> available (all our current batch emission infrastructure relies on this).
> See [1] and [2] for more details.

Emitting a batch is trivial:

https://lists.freedesktop.org/archives/mesa-dev/2015-August/091077.html

But we do want to share the bufmgr between screens, and you do want to
deprecate the current intel_batchbuffer.c due to the very large overhead
it imposes.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the mesa-dev mailing list