diff options
author | Jason Ekstrand <[email protected]> | 2017-06-12 09:40:42 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-06-14 18:15:05 -0700 |
commit | 21d83f54b36d76901ecf168b0fd44562c5be6ce3 (patch) | |
tree | 1793b79493d6f2cb0f238d112c3097b1803ae0c5 /m4 | |
parent | 6ee0530c354b6cd7f4b1e716f3ee5197d719fc5a (diff) |
i965/bufmgr: Add a new, simpler, bo_alloc_tiled
ISL already has all of the complexity required to figure out the correct
surface pitch and size taking tile alignment into account. When we get
a surface out of ISL, the pitch and size are already correct and using
brw_bo_alloc_tiled_2d doesn't actually gain us anything other than extra
asserts we have to do in order to ensure that the bufmgr code and ISL
agree. This new helper doesn't try to be smart but just allocates the
BO you ask for and sets up the tiling.
Reviewed-by: Plamena Manolova <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions