i965: Do not log a perf warning when mapping an idle bo
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 18 Oct 2017 08:49:31 +0000 (09:49 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Oct 2017 06:12:39 +0000 (07:12 +0100)
commitb7c655f700d5e12d3cd81b1cb66fce17019f934d
tree7359f0bff4e707731674490f0dee74ca01804c01
parente9796ebca7d2977700ff51ade9193e33368bd4af
i965: Do not log a perf warning when mapping an idle bo

We only want to scare the user away from causing a GPU stall for mapping
a busy bo. The time taken to instantiate the set of pages for a buffer
and their mmapping is unavoidable and flagging idle bo as being busy is
"crying wolf".

Reported-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_bufmgr.c