i965/bufmgr: Add a create_from_prime_tiled function
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 19 Jan 2018 04:39:50 +0000 (20:39 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 22 Jan 2018 07:07:18 +0000 (23:07 -0800)
commitb9e7b29705cb17ef7f88d346db823c9b99810249
tree9c4766b628812002d5a218fb18dc0f6cc111425f
parentad424b2243023b0299de700fb2d220c2f7849ce6
i965/bufmgr: Add a create_from_prime_tiled function

This new function is an import and a set tiling in one go.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/i965/brw_bufmgr.c
src/mesa/drivers/dri/i965/brw_bufmgr.h