[openchrome-devel] xf86-video-openchrome: Branch 'main' - src/via_dmabuffer.h

Kevin Brace kevinbrace at kemper.freedesktop.org
Tue Mar 28 20:11:32 UTC 2023


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

New commits:
commit 857d892b668b4737d41ef1b7f58fd45eac84d552
Author: Kevin Brace <kevinbrace at bracecomputerlab.com>
Date:   Tue Mar 28 13:10:39 2023 -0700

    Use HALCYON_HEADER1 constant for H1_ADDR function macro
    
    Signed-off-by: Kevin Brace <kevinbrace at bracecomputerlab.com>

diff --git a/src/via_dmabuffer.h b/src/via_dmabuffer.h
index 2f3a640..5862bde 100644
--- a/src/via_dmabuffer.h
+++ b/src/via_dmabuffer.h
@@ -53,7 +53,7 @@ typedef struct _ViaCommandBuffer
     (cb)->waitFlags |= (flags)
 
 #define H1_ADDR(val) \
-    (((val) >> 2) | 0xF0000000)
+    (((val) >> 2) | HALCYON_HEADER1)
 
 #define OUT_RING(val)                   \
     do {                                \


More information about the openchrome-devel mailing list