i965/skl: Use new MOCS for SKL
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 23 Sep 2014 16:46:28 +0000 (09:46 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Nov 2014 23:33:12 +0000 (15:33 -0800)
commitc31ce2c40cef21be8a0de48bfdf0307e8d4cd424
tree495ac678b5ebabd1090815e5f365a2748d143ccf
parent5745aaf15cf185d56da680980aaa1ba537f3eb44
i965/skl: Use new MOCS for SKL

On Skylake, the MOCS bits are an index into a table of 63 different,
configurable cache configurations.  As for previous GENs, we only care about
WB and WT, which are available in the documented default set.  Define
SKL_MOCS_WB and SKL_MOCS_WT to the indices for those configucations and use
those for the Skylake MOCS values.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/gen8_depth_state.c
src/mesa/drivers/dri/i965/gen8_draw_upload.c
src/mesa/drivers/dri/i965/gen8_misc_state.c
src/mesa/drivers/dri/i965/gen8_sol_state.c
src/mesa/drivers/dri/i965/gen8_surface_state.c