Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-11] src/sys/arch/evbppc



Module Name:    src
Committed By:   martin
Date:           Sun Oct 26 13:10:05 UTC 2025

Modified Files:
        src/sys/arch/evbppc/include [netbsd-11]: wii.h
        src/sys/arch/evbppc/wii [netbsd-11]: machdep.c
        src/sys/arch/evbppc/wii/dev [netbsd-11]: wiifb.c
Added Files:
        src/sys/arch/evbppc/wii/dev [netbsd-11]: gxreg.h
Removed Files:
        src/sys/arch/evbppc/wii/dev [netbsd-11]: viio.h

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #74):

        sys/arch/evbppc/wii/dev/wiifb.c: revision 1.8
        sys/arch/evbppc/wii/dev/gxreg.h: revision 1.1
        sys/arch/evbppc/include/wii.h: revision 1.11
        sys/arch/evbppc/wii/machdep.c: revision 1.11
        sys/arch/evbppc/wii/dev/viio.h: file removal

wii: Use GX to accelerate RGB to YUY2 conversion.

Allocate a 640x480x32 RGB buffer in memory, and when not in EMUL mode,
use the CPU to copy from the RGB buffer to EFB (taking advantage of the
pixel engine to do RGB -> YUY2 for us) and then use the GX to copy from
EFB to XFB.

Not only does this improve performance significantly in X, it also results
in better colour reproduction. The previous software method employed by
xf86-video-wsfb had some corner cases where eg. dark colours would display
as bright pink.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.10.2.1 src/sys/arch/evbppc/include/wii.h
cvs rdiff -u -r1.9 -r1.9.2.1 src/sys/arch/evbppc/wii/machdep.c
cvs rdiff -u -r0 -r1.1.2.2 src/sys/arch/evbppc/wii/dev/gxreg.h
cvs rdiff -u -r1.1 -r0 src/sys/arch/evbppc/wii/dev/viio.h
cvs rdiff -u -r1.7 -r1.7.2.1 src/sys/arch/evbppc/wii/dev/wiifb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index