<div dir="ltr">Looks good to me :) The series is:<div><br><div>Reviewed-by: Plamena Manolova <<a href="mailto:plamena.manolova@intel.com">plamena.manolova@intel.com</a>></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 14, 2017 at 2:19 AM, Jason Ekstrand <span dir="ltr"><<a href="mailto:jason@jlekstrand.net" target="_blank">jason@jlekstrand.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c | 9 ++-------<br>
1 file changed, 2 insertions(+), 7 deletions(-)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c<br>
index f24b0b5..7991f81 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c<br>
@@ -1684,13 +1684,8 @@ intel_miptree_alloc_non_msrt_<wbr>mcs(struct brw_context *brw,<br>
const uint32_t alloc_flags =<br>
is_lossless_compressed ? 0 : BO_ALLOC_FOR_RENDER;<br>
<br>
- /* ISL has stricter set of alignment rules then the drm allocator.<br>
- * Therefore one can pass the ISL dimensions in terms of bytes instead of<br>
- * trying to recalculate based on different format block sizes.<br>
- */<br>
- buf->bo = brw_bo_alloc_tiled_2d(brw-><wbr>bufmgr, "ccs-miptree",<br>
- buf->pitch, buf->size / buf->pitch,<br>
- 1, I915_TILING_Y, &buf->pitch, alloc_flags);<br>
+ buf->bo = brw_bo_alloc_tiled(brw-><wbr>bufmgr, "ccs-miptree", buf->size,<br>
+ I915_TILING_Y, buf->pitch, alloc_flags);<br>
if (!buf->bo) {<br>
free(buf);<br>
free(aux_state);<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.5.0.400.gff86faf<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>