i965: Use helper function intel_get_tile_dims() in surface setup
authorAnuj Phogat <anuj.phogat@gmail.com>
Thu, 9 Jul 2015 17:47:17 +0000 (10:47 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Mon, 28 Sep 2015 19:43:43 +0000 (12:43 -0700)
commitbbbc9fd8e5e2a4434c8630eacd7943d59aa73c47
treea57af5b254b644fa34e3732af1329753149e0826
parent1dc41be9ebd07825836b0ca4b98e00ffc7ecc0ec
i965: Use helper function intel_get_tile_dims() in surface setup

It takes care of using the correct tile width if we later use other
tiling patterns for aux miptree.

V2: Remove the comment about using Yf for aux miptree.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/mesa/drivers/dri/i965/gen8_surface_state.c