From owner-freebsd-current@FreeBSD.ORG Wed Sep 8 23:43:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0647516A4CE for ; Wed, 8 Sep 2004 23:43:09 +0000 (GMT) Received: from smtp.easystreet.com (smtp.easystreet.com [69.30.22.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF72C43D1F for ; Wed, 8 Sep 2004 23:43:08 +0000 (GMT) (envelope-from eta@lclark.edu) Received: from [192.168.0.103] (69-30-77-85.dq1sn.easystreet.com [69.30.77.85]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.easystreet.com (Postfix) with ESMTP id 7EA3636405A; Wed, 8 Sep 2004 16:43:08 -0700 (PDT) From: Eric Anholt To: Jose M Rodriguez In-Reply-To: References: <1094502674.2668.4.camel@localhost> <1094631615.860.7.camel@leguin> <1094634253.2172.13.camel@localhost> Content-Type: text/plain; charset=koi8-r Message-Id: <1094686987.871.10.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 08 Sep 2004 16:43:07 -0700 Content-Transfer-Encoding: 8bit cc: vova@fbsd.ru cc: "current@freebsd.org" Subject: Re: ATI Radeon LY Mobility M6: DRM does not work - locking issue ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 23:43:09 -0000 On Wed, 2004-09-08 at 05:23, Jose M Rodriguez wrote: > On Wed, 08 Sep 2004 13:04:13 +0400, Vladimir Grebenschikov > wrote: > > > В ср, 08/09/2004 в 01:20 -0700, Eric Anholt пишет: > >> On Mon, 2004-09-06 at 13:31, Vladimir Grebenschikov wrote: > >> > Hi > >> > > >> > 6-CURRENT > >> > > >> > from dmesg: > >> > > >> > drm0: port 0x3000-0x30ff mem > >> > 0xd0100000-0xd010ffff,0xd8000000-0xdfffffff irq 9 at device 0.0 on > >> pci1 > >> > info: [drm] Initialized radeon 1.11.0 20020828 on minor 0 > >> > error: [drm:pid2477:radeon_cp_init] *ERROR* radeon_cp_init called > >> > without lock held > >> > error: [drm:pid2477:radeon_unlock] *ERROR* Process 2477 using kernel > >> > context 0 > >> > >> If you look in your dmesg, does agp initialization come before or after > >> the drm? This sure looks like the symptoms of agp initialization coming > >> after (or not at all), but if you say your agp is loaded and attached, > >> I'm not sure how that would happen. > > > > dmesg: > > > > drm0: port 0x3000-0x30ff mem > > 0xd0100000-0xd010ffff,0xd8000000-0xdfffffff irq 9 at device 0.0 on pci1 > > info: [drm] AGP at 0xe0000000 256MB > > info: [drm] Initialized radeon 1.11.0 20020828 on minor 0 > > > > I have solved problem, it need to make depth 16 or there is no enough > > memory to serve direct rendering on 1400x1050 screen with 24 bpp. > > > > Get an X -configure and check driver options. > You may need: > Options "AGPSize" "256" # AGP Aperture size. MUST fit in bios settings This won't affect his problem, since only command buffers (and maybe textures -- I don't remember the status of our R100 driver) get allocated from AGP, and not the front/back/depth. It will also wire 256MB of memory for essentially no purpose at all. > Options "AGPMode" "4" # Set AGP Speed DANGEROUS but very effective I would be interested in reports of "very effective." The effectiveness that I've heard from anyone so far is "not measurable" to 1-2%. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org