i965: disable repacking for compression for applicable gen
authorDongwon Kim <dongwon.kim@intel.com>
Thu, 27 Jun 2019 16:54:35 +0000 (09:54 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Mon, 8 Jul 2019 17:54:38 +0000 (10:54 -0700)
commit00df55cdc9d14839bd77bbf5007a6683cfeca12a
tree1813082bcec21f3da007217b092a99e546b3bdb9
parenteb6d067e68c49bd3fdefc6effd988b37f1c45ecc
i965: disable repacking for compression for applicable gen

set bit15 (Disable Repacking for Compression) of CACHE_MODE_0 register
if the gen attribute, 'disable_ccs_repack' is set.

Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_state_upload.c