i965: Mark freshly allocate bo as idle
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Jun 2017 23:35:09 +0000 (00:35 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 16 Jun 2017 15:20:28 +0000 (16:20 +0100)
commit05d5caffc402f532502b7b8e301a80ef140b7317
tree8039e052c2f6aebac5777c5e69c0dc95c80d2d62
parent82db591155ca2f79b522deaa5cd582fa0cf9461f
i965: Mark freshly allocate bo as idle

When created, buffers are idle, so mark them as such to save an early
ioctl or mistakenly assuming the fresh buffer is busy.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Kenneth Graunke <kenneth@whitecape.org>
Cc: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_bufmgr.c