From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 4 Mar 2003 16:19:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 4 Mar 2003 16:19:18 -0500 Received: from smtpzilla1.xs4all.nl ([194.109.127.137]:11281 "EHLO smtpzilla1.xs4all.nl") by vger.kernel.org with ESMTP id ; Tue, 4 Mar 2003 16:19:14 -0500 Date: Tue, 4 Mar 2003 22:29:06 +0100 From: Jurriaan To: Petr Vandrovec Cc: Antonino Daplas , James Simmons , Linux Kernel Mailing List , Linux Fbdev development list Subject: Re: [Linux-fbdev-devel] Re: FBdev updates. Message-ID: <20030304212906.GA1115@middle.of.nowhere> Reply-To: thunder7@xs4all.nl References: <20030220150201.GD13507@codemonkey.org.uk> <20030220182941.GK14445@vana.vc.cvut.cz> <1045787031.2051.9.camel@localhost.localdomain> <20030303203500.GA2916@vana.vc.cvut.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030303203500.GA2916@vana.vc.cvut.cz> X-Message-Flag: Still using Outlook? Please Upgrade to real software! User-Agent: Mutt/1.5.3i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org From: Petr Vandrovec Date: Mon, Mar 03, 2003 at 09:35:00PM +0100 > On Fri, Feb 21, 2003 at 08:24:17AM +0800, Antonino Daplas wrote: > > On Fri, 2003-02-21 at 02:29, Petr Vandrovec wrote: > > > > > > I was for five weeks in U.S., so I did not do anything with > > > matroxfb during that time. I plan to use fillrect and copyrect > > > from generic code (although it means unnecessary multiply on > > > generic side, and division in matroxfb, but well, if we gave > > > up on reasonable speed for fbdev long ago...). But I simply > > > want loadfont and putcs hooks for character painting. And if > > > fbdev maintainer does not want to give me them, well, then > > > matroxfb and fbdev are not compatible. > > > > Petr, > > > > I submitted the Tile Blitting patch to James some time ago, it has > > tilefill, tilecopy and tileblit hooks. These hooks should eliminate the > > "multiply in fbcon, divide in driver" bottleneck. > > > > It should result in the same behavior as you would expect in the the 2.4 > > API, so you can use text mode with your matroxfb driver. These same > > hooks will also help optimize drawing if we need to use fonts like > > 12x22. > > Hi, > while waiting on these updates I updated matroxfb a bit > (ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/matroxfb-2.5.63.gz), > so that it now uses fb_* for cfb modes, and putcs/... hooks for > text mode. There is a regression here: I boot my kernel like this: kernel /boot/vmlinuz-2563matrox root=/dev/hda7 video=matrox:vesa:0x11E,fv:80,sgram hdc=scsi apm=smp apm=power-off nosmp=1 and have the following .config: CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y CONFIG_AGP=y CONFIG_AGP_VIA=y CONFIG_DRM=y CONFIG_DRM_MGA=y CONFIG_RAW_DRIVER=y CONFIG_VGA_CONSOLE=y CONFIG_VIDEO_SELECT=y CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_PCI_CONSOLE=y CONFIG_FBCON_ADVANCED=y CONFIG_FONT_SUN12x22=y CONFIG_FONTS=y CONFIG_FB_MATROX=y CONFIG_FB_MATROX_G450=y CONFIG_FB_MATROX_G100=y CONFIG_FB_MATROX_I2C=y CONFIG_FB_MATROX_MAVEN=y CONFIG_FBCON_CFB8=y CONFIG_FBCON_CFB16=y CONFIG_FBCON_CFB24=y CONFIG_FBCON_CFB32=y CONFIG_FBCON_ACCEL=y matroxfb: Matrox G400 (AGP) detected matroxfb: MTRR's turned on matroxfb: 1600x1200x16bpp (virtual: 1600x5241) matroxfb: framebuffer at 0xD4000000, mapped to 0xe0805000, size 33554432 Console: switching to colour frame buffer device 133x54 fb0: MATROX VGA frame buffer device pty: 256 Unix98 ptys configured Linux agpgart interface v0.100 (c) Dave Jones agpgart: Detected VIA Apollo Pro 266T chipset agpgart: Maximum main memory to use for agp memory: 439M agpgart: AGP aperture is 64M @ 0xd0000000 [drm] Initialized mga 3.1.0 20021029 on minor 0 I see a continuous strip of alternating blocks, of sub-character size, at the extreme right end of my screen. The colors seem linked to the color of the line with the cursor in some way. After leaving XFRee, a piece of chbg's background picture is shown for a short while, then the blocks return. Kind regards, Jurriaan -- But the threat of disapproval had terrified me No more my soul will I reveal Wargasm - Chameleon GNU/Linux 2.5.63 SMP/ReiserFS 1x2793 bogomips load av: 1.18 0.46 0.17