On Fri, Oct 29, 2021 at 06:20:07PM -0400, Brad Smith wrote: > > Therefore, here is a diff to enable spleen16x32 and spleen32x64 on riscv64 > > for GENERIC kernels, like we do on amd64, arm64, armv7, and i386. > > > > Comments? OK? > > Sounds like this should be enabled on powerpc64 too?
I got an OK for the riscv64 part so I committed it. Looking at the GENERIC kernel conf file for powerpc64, it indeed appears that it has radeondrm(4) support, and that it would be useful to enable the fonts on this platform as well. The following diff does that. Thanks for pointing this out, Brad. Comments? OK? Index: sys/dev/wsfont/wsfont.c =================================================================== RCS file: /cvs/src/sys/dev/wsfont/wsfont.c,v retrieving revision 1.60 diff -u -p -r1.60 wsfont.c --- sys/dev/wsfont/wsfont.c 1 Nov 2021 18:43:04 -0000 1.60 +++ sys/dev/wsfont/wsfont.c 2 Nov 2021 13:51:52 -0000 @@ -102,7 +102,8 @@ #endif #if !defined(SMALL_KERNEL) && (defined(__amd64__) || defined(__i386__) || \ - defined(__arm64__) || defined(__armv7__) || defined(__riscv64__)) + defined(__arm64__) || defined(__armv7__) || defined(__riscv64__) || \ + defined(__powerpc64__)) #define FONT_SPLEEN16x32 #define FONT_SPLEEN32x64 #endif