From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1160997AbXAaTqx (ORCPT ); Wed, 31 Jan 2007 14:46:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161003AbXAaTqx (ORCPT ); Wed, 31 Jan 2007 14:46:53 -0500 Received: from mail.gmx.net ([213.165.64.20]:48628 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1160997AbXAaTqw (ORCPT ); Wed, 31 Jan 2007 14:46:52 -0500 X-Authenticated: #24128601 From: Sebastian Kemper To: linux-kernel@vger.kernel.org Subject: 2.6.20-rc7 mtrr handling Date: Wed, 31 Jan 2007 20:46:02 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701312046.02196.sebastian_ml@gmx.net> X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello list, I read about the changes regarding the mtrr code in the upcoming 2.6.20 kernel and so today I tried rc7. Since quite some time I had warning messages like mtrr... overlaps existing... whenever I started up Xorg with DRI enabled. This doesn't happen anymore with 2.6.20-rc7. But now /proc/mtrr shows 256MB of video ram, same as lspci, whereas the real amount of video ram (as properly detected by X) is only 128MB. I have a Radeon 9250 from Connect3d with AGP, DVI, VGA, TV-Out and 128bit memory bus width. I'm wondering if this misdetection could become an issue. cat /proc/mtrr reg00: base=0x00000000 ( 0MB), size= 512MB: write-back, count=1 reg01: base=0xe0000000 (3584MB), size= 128MB: write-combining, count=2 reg02: base=0xd0000000 (3328MB), size= 256MB: write-combining, count=3 The lines are RAM, AGP Aperture Size and video ram. grep -i videoram /var/log/Xorg.0.log (--) RADEON(0): Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) lspci -vvv ... 02:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01) (prog-if 00 [VGA]) Subsystem: Connect Components Ltd Unknown device 2801 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- libc.2.4 Dynamic linker (ldd) 2.4 Procps 3.2.6 Net-tools 1.60 Kbd 1.12 Sh-utils 6.4 udev 103 Modules Loaded lirc_serial lirc_dev snd_ice1712 snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_cs8427 snd_ac97_codec snd_pcm snd_page_alloc ac97_bus snd_i2c snd_mpu401_uart snd_rawmidi dvb_ttpci saa7146_vv video_buf saa7146 ttpci_eeprom stv0299 dvb_core Regards Sebastian