i965: Move unmap_gtt before map_gtt
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 30 Apr 2018 17:25:40 +0000 (10:25 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 30 Apr 2018 21:06:23 +0000 (14:06 -0700)
commit359624142dc914b35a56c167d32bed2a5d17cb2f
tree4dcbf1a49e1d5a49c187d4a986f12df0ddff8785
parent8d3529872c940c263fb879e1cd358965dcce3a90
i965: Move unmap_gtt before map_gtt

Reorder code to avoid a forward declaration in the next patch.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c