Re: [Mesa-dev] [PATCH 2/3] i965/bufmgr: Add a new, simpler, bo_alloc_tiled

2017-06-14 Thread Alejandro PiƱeiro
On 14/06/17 01:19, Jason Ekstrand wrote: > 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

[Mesa-dev] [PATCH 2/3] i965/bufmgr: Add a new, simpler, bo_alloc_tiled

2017-06-13 Thread Jason Ekstrand
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