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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev