i965: Use brw_bo_map() in intel_texsubimage_tiled_memcpy().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Jan 2014 17:24:32 +0000 (09:24 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 4 Feb 2014 00:16:35 +0000 (16:16 -0800)
commite396674d5fb06ef467c7b66cf14ff89df64f2101
tree20fefd36dff74fbb73b39bafc72545206cae2f15
parentd613bafe9111a577bed6bb89ef559df40712674c
i965: Use brw_bo_map() in intel_texsubimage_tiled_memcpy().

This additionally measures the time stalled, while also simplifying the
code.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Carl Worth <cworth@cworth.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/intel_tex_subimage.c