Date: Sun, 10 Jul 2005 11:16:34 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/fb creator.c src/sys/sparc64/creator creator.h creator_upa.c Message-ID: <200507101116.j6ABGYjo052261@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2005-07-10 11:16:34 UTC FreeBSD src repository Modified files: sys/dev/fb creator.c sys/sparc64/creator creator.h creator_upa.c Log: - Declare lookup tables etc. const. - Let creator_bitblt() return ENODEV as it's not implemented (missed in sys/dev/fb/creator.c rev. 1.6). - As a speed optimization inline the creator_ras_wait() etc. helper functions and also cache setting the font increment, font width and plane mask. [1] - I got the meaning of V_DISPLAY_BLANK wrong, it's blank like turn off and not blank like turn on and clear the screen. So move clearing the screen to creator_clear() were it hopefully belongs. - Properly implement V_DISPLAY_BLANK, V_DISPLAY_STAND_BY and V_DISPLAY_SUSPEND. This makes blank_saver.ko and green_saver.ko work. [1] - Change the order of operations in creator_fill_rect(), i.e. write y before x and cy before cx. This fixes drawing the top part of the border with Elite3D cards when switching from Xorg to a VTY. - Move setting the chip configuration we use and invalidating the cache variables to creator_set_mode() and set the V_ADP_MODECHANGE flag. This causes creator_set_mode() to be called when the X server shuts down which fixes the screen corruption caused most of the time by Xorg not restoring the original configuration present at startup. Inspired by/based on: Xorg [1] Approved by: re (scottl) Revision Changes Path 1.8 +167 -91 src/sys/dev/fb/creator.c 1.5 +3 -0 src/sys/sparc64/creator/creator.h 1.9 +2 -2 src/sys/sparc64/creator/creator_upa.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507101116.j6ABGYjo052261>