Hi tech@,

It has come to my attention that OpenBSD/riscv64 has support for at least
radeondrm(4), and can drive a 4k monitor.

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?

Index: sys/dev/wsfont/wsfont.c
===================================================================
RCS file: /cvs/src/sys/dev/wsfont/wsfont.c,v
retrieving revision 1.59
diff -u -p -r1.59 wsfont.c
--- sys/dev/wsfont/wsfont.c     1 May 2021 16:11:16 -0000       1.59
+++ sys/dev/wsfont/wsfont.c     29 Oct 2021 21:58:23 -0000
@@ -102,7 +102,7 @@
 #endif
 
 #if !defined(SMALL_KERNEL) && (defined(__amd64__) || defined(__i386__) || \
-    defined(__arm64__) || defined(__armv7__))
+    defined(__arm64__) || defined(__armv7__) || defined(__riscv64__))
 #define FONT_SPLEEN16x32
 #define FONT_SPLEEN32x64
 #endif

Reply via email to