summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/evergreen_accel.c3
-rw-r--r--src/evergreen_reg.h1
2 files changed, 3 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);
diff --git a/src/evergreen_reg.h b/src/evergreen_reg.h
index b08dbf94..96a243fe 100644
--- a/src/evergreen_reg.h
+++ b/src/evergreen_reg.h
@@ -118,6 +118,7 @@ enum {
SQ_LDS_ALLOC_PS = 0x288ec,
SQ_DYN_GPR_RESOURCE_LIMIT_1 = 0x28838,
SQ_DYN_GPR_CNTL_PS_FLUSH_REQ = 0x8d8c,
+ SQ_LDS_RESOURCE_MGMT = 0x8e2c,
WAIT_UNTIL = 0x8040,
WAIT_CP_DMA_IDLE_bit = 1 << 8,