summaryrefslogtreecommitdiff
path: root/src/evergreen_accel.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-07-12 11:43:25 -0400
committerAlex Deucher <alexdeucher@gmail.com>2011-07-12 11:43:25 -0400
commite8d0d437957b15252dfad775796a3949ed50dbcf (patch)
tree993f3ff25bc331184f12db669067b6d1e45a89a6 /src/evergreen_accel.c
parent9bb31158466e6168116d841d12c8b4303f11c4a6 (diff)
evergreen: Emit SQ_LDS_RESOURCE_MGMT
Avoids rendering problems when compute changes this reg. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39119 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/evergreen_accel.c')
-rw-r--r--src/evergreen_accel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/evergreen_accel.c b/src/evergreen_accel.c
index 7cf3960d..f4c70c7d 100644
--- a/src/evergreen_accel.c
+++ b/src/evergreen_accel.c
@@ -1068,8 +1068,9 @@ evergreen_set_default_state(ScrnInfoPtr pScrn)
evergreen_sq_setup(pScrn, &sq_conf);
- BEGIN_BATCH(24);
+ BEGIN_BATCH(27);
EREG(SQ_LDS_ALLOC_PS, 0);
+ EREG(SQ_LDS_RESOURCE_MGMT, 0x10001000);
EREG(SQ_DYN_GPR_RESOURCE_LIMIT_1, 0);
PACK0(SQ_ESGS_RING_ITEMSIZE, 6);