Module Name: xsrc
Committed By: macallan
Date: Tue Apr 29 08:40:58 UTC 2014
Modified Files:
xsrc/external/mit/xf86-video-suncg14/dist/src: cg14.h
Log Message:
write all SX commands to 64bit-aligned addresses
now this works on rev. 27 hardware
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
xsrc/external/mit/xf86-video-suncg14/dist/src/cg14.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xf86-video-suncg14/dist/src/cg14.h
diff -u xsrc/external/mit/xf86-video-suncg14/dist/src/cg14.h:1.10 xsrc/external/mit/xf86-video-suncg14/dist/src/cg14.h:1.11
--- xsrc/external/mit/xf86-video-suncg14/dist/src/cg14.h:1.10 Thu Jul 25 17:37:30 2013
+++ xsrc/external/mit/xf86-video-suncg14/dist/src/cg14.h Tue Apr 29 08:40:58 2014
@@ -123,7 +123,7 @@ read_sx_reg(Cg14Ptr p, int reg)
static inline void
write_sx_io(Cg14Ptr p, int reg, uint32_t val)
{
- *(volatile uint32_t *)(p->sxio + reg) = val;
+ *(volatile uint32_t *)(p->sxio + (reg & ~7)) = val;
}
Bool CG14SetupCursor(ScreenPtr);