gallium/radeon: fix Hyper-Z hangs by programming PA_SC_MODE_CNTL_1 correctly
authorMarek Olšák <marek.olsak@amd.com>
Wed, 9 Dec 2015 19:26:21 +0000 (20:26 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 11 Dec 2015 14:25:12 +0000 (15:25 +0100)
commitd3c08309abd17b6e0d466b677af57e3cc74b0e00
treefad08b14200db265c76988dc490080d83770d49e
parent7c29bf26bbaa1ead489f3dd35a8458ba58d2195d
gallium/radeon: fix Hyper-Z hangs by programming PA_SC_MODE_CNTL_1 correctly

This is the recommended setting according to hw people and it makes Hyper-Z
stable. Just the two magic states.

This fixes Evergreen, Cayman, SI, CI, VI (using the Cayman code).

Cc: 11.0 11.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/radeon/cayman_msaa.c
src/gallium/drivers/radeon/r600d_common.h