Mesa (master): ac/sid.h: don' t use parentheses in PKT3_RELEASE_MEM definition

Marek Olšák mareko at kemper.freedesktop.org
Mon Jun 19 18:18:45 UTC 2017


Module: Mesa
Branch: master
Commit: 064f07fef343f517d4bf20f06af9fbb1baea2ff8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=064f07fef343f517d4bf20f06af9fbb1baea2ff8

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Jun 16 00:11:50 2017 +0200

ac/sid.h: don't use parentheses in PKT3_RELEASE_MEM definition

The parses skips the line if it contains parentheses.

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

---

 src/amd/common/sid.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/common/sid.h b/src/amd/common/sid.h
index c69f4f6dbf..a8c78c1b2b 100644
--- a/src/amd/common/sid.h
+++ b/src/amd/common/sid.h
@@ -170,7 +170,7 @@
  */
 /* fix CP DMA before uncommenting: */
 /*#define PKT3_EVENT_WRITE_EOS                   0x48*/ /* not on GFX9 */
-#define PKT3_RELEASE_MEM                       0x49 /* GFX9+ (any ring) or GFX8 (compute ring only) */
+#define PKT3_RELEASE_MEM                       0x49 /* GFX9+ [any ring] or GFX8 [compute ring only] */
 #define PKT3_ONE_REG_WRITE                     0x57 /* not on CIK */
 #define PKT3_ACQUIRE_MEM                       0x58 /* new for CIK */
 #define PKT3_SET_CONFIG_REG                    0x68




More information about the mesa-commit mailing list