i965/wm: Surface state overrides for configuring w-tiled as y-tiled
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 7 May 2014 07:49:50 +0000 (10:49 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 15 May 2014 18:39:32 +0000 (21:39 +0300)
commit6aefaa4eb23dec764a59f9e28bbe4a7d5036fdbf
tree86faef88354dfabfddb39220a9c23298cecf0de4
parent103057b2b7c0cf26c28b40fe5802acb8c6195c77
i965/wm: Surface state overrides for configuring w-tiled as y-tiled

v2: Use intel_mipmap_tree::total_width in order to get correct alignment
    automatically. Also use "mt->total_height / mt->physical_depth0" as
    surface height allowing hardware to offset to correct slice.

Cc: "10.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c