diff options
author | Dave Airlie <airlied@redhat.com> | 2011-07-12 11:43:25 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2011-07-12 11:43:25 -0400 |
commit | e8d0d437957b15252dfad775796a3949ed50dbcf (patch) | |
tree | 993f3ff25bc331184f12db669067b6d1e45a89a6 /src | |
parent | 9bb31158466e6168116d841d12c8b4303f11c4a6 (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')
-rw-r--r-- | src/evergreen_accel.c | 3 | ||||
-rw-r--r-- | src/evergreen_reg.h | 1 |
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, |