iris: Fix MOCS for blits and clears
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 6 Mar 2019 22:49:39 +0000 (14:49 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 7 Mar 2019 02:04:53 +0000 (18:04 -0800)
commit744b8e1c12f2f3857070a895bf6a4351f071a3f9
tree7522439bb611699f3d44ec10e94631284b06a9a5
parentecceb076e5c99cea94b853a9600947fe78b3ca74
iris: Fix MOCS for blits and clears

I915_MOCS_CACHED is the wrong value.  Expose mocs() and use that.
src/gallium/drivers/iris/iris_blit.c
src/gallium/drivers/iris/iris_clear.c
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_resolve.c
src/gallium/drivers/iris/iris_state.c