i965: Issue performance warnings on MapBufferRange stalls.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Aug 2014 17:42:05 +0000 (10:42 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 13 Oct 2014 13:44:05 +0000 (06:44 -0700)
commita4fe727a5d77c6a20a4e6cceaad34c81cd49f0ec
tree5cc8f43acb46cfb8858363cafde3c6d1bff03306
parent5d72a1c95662109b1338605da83329dd25e00859
i965: Issue performance warnings on MapBufferRange stalls.

This is easy: we just need to use brw_map_bo instead of mapping it
directly.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/intel_buffer_objects.c