i965/bufmgr: Allocate BO pages outside of the kernel's locking.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 21 Jul 2017 19:29:30 +0000 (12:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 23 Jul 2017 02:34:42 +0000 (19:34 -0700)
commiteb1497e968bd4a0edc1606e8a6f708fab3248828
tree99755b4bf82f902c70e5986e19b530ac5528409e
parentd91108b1f4265d69961df01cc0e02c1f64bccc01
i965/bufmgr: Allocate BO pages outside of the kernel's locking.

Suggested by Chris Wilson.

v2: Set the write domain to 0 (suggested by Chris).

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_bufmgr.c