i965/skl: Disable partial resolve in VC
authorBen Widawsky <benjamin.widawsky@intel.com>
Fri, 27 Feb 2015 02:14:17 +0000 (18:14 -0800)
committerBen Widawsky <benjamin.widawsky@intel.com>
Sat, 28 Mar 2015 04:04:37 +0000 (21:04 -0700)
commit9d32d358500733249d3c0264c7458c2e5a65f515
tree307b89a9a688b800258cc9295ac2b1196ddf6b8a
parentb2424fb0304cf4afd363b35c1dab49fb7edddb08
i965/skl: Disable partial resolve in VC

Recomendation [sic] is to set this field to 1 always. Programming it to default
value of 0, may have -ve impact on performance for MSAA WLs.

Another don't suck bit which needs to get set.

The patch wasn't as well tested as I would have liked, primarily I don't have
perf numbers for it, but it's getting to a point where it is in danger of being
lost.

v2: v1 was a mix of two patches. Since 0x7004 is masked, we only need to set it
once at initialization and make sure the pma workaround doesn't set the mask bit
(which it doesn't).
Move LRI to init gpu state (Ken)
Add a comment.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/intel_reg.h