i965: Mark upload buffers with MAP_ASYNC and MAP_PERSISTENT.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 27 Feb 2018 07:41:33 +0000 (23:41 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 2 Mar 2018 22:19:33 +0000 (14:19 -0800)
commitb04cf529f2e7bab6be22410d4be293aa5e650b03
tree657787221aa66292086273b914bc295f91af7f9c
parenteb99bf8abe367aaf01ccf50347b510d8cfb87688
i965: Mark upload buffers with MAP_ASYNC and MAP_PERSISTENT.

This should have no practical impact.  For the default uploader, we
don't really care, but for others, we may want to append more data
as the GPU is reading existing data, which means we need async and
persistent flags.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/intel_upload.c