[Mesa-dev] [PATCH 2/3] radeonsi: decrease the size of si_pm4_state

Marek Olšák maraeo at gmail.com
Sun Sep 6 15:14:42 PDT 2015


From: Marek Olšák <marek.olsak at amd.com>

---
 src/gallium/drivers/radeonsi/si_pm4.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/si_pm4.h b/src/gallium/drivers/radeonsi/si_pm4.h
index 5282d00..309a596 100644
--- a/src/gallium/drivers/radeonsi/si_pm4.h
+++ b/src/gallium/drivers/radeonsi/si_pm4.h
@@ -29,9 +29,8 @@
 
 #include "radeon/radeon_winsys.h"
 
-#define SI_PM4_MAX_DW		256
-#define SI_PM4_MAX_BO		32
-#define SI_PM4_MAX_RELOCS	4
+#define SI_PM4_MAX_DW		160
+#define SI_PM4_MAX_BO		1
 
 // forward defines
 struct si_context;
-- 
2.1.4



More information about the mesa-dev mailing list