Source-Changes archive

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

CVS commit: src/sys/arch



Module Name:    src
Committed By:   rin
Date:           Tue Jul  7 02:33:55 UTC 2020

Modified Files:
        src/sys/arch/macppc/include: autoconf.h
        src/sys/arch/macppc/macppc: machdep.c
        src/sys/arch/ofppc/include: autoconf.h
        src/sys/arch/powerpc/oea: ofw_rascons.c ofwoea_machdep.c

Log Message:
It turned out that using some Open Firmware routines causes the system
freeze after calling OF_quiesce().

This is why setting color palette crash the system for some Power Mac G5
models, like PowerMac11,2.

Therefore, stop using color-palette and backlight callbacks for genfb(4)
in this case.

Also, postpone OF_quiesce() after rascons_init_rasops(), and initialize
color palette there if OF is going to be quiesced and color depth is 8.

Now, color palette for wscons is initialized correctly for PowerMac11,2.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/macppc/include/autoconf.h
cvs rdiff -u -r1.169 -r1.170 src/sys/arch/macppc/macppc/machdep.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/ofppc/include/autoconf.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/powerpc/oea/ofw_rascons.c
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/powerpc/oea/ofwoea_machdep.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