Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 22:35:45 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= <dumbbell@FreeBSD.org>
Cc:        dt71@gmx.com, freebsd-current@freebsd.org
Subject:   Re: new Xorg (KMS, etc.) for Radeon 9600
Message-ID:  <20131114223545.320b94fc@kalimero.tijl.coosemans.org>
In-Reply-To: <20131114113846.4dcb2037@kalimero.tijl.coosemans.org>
References:  <527F95BE.7080908@gmx.com> <Pine.GSO.4.64.1311101135590.9459@sea.ntplx.net> <527FC05D.8080703@gmx.com> <5283E123.5000305@FreeBSD.org> <20131114113846.4dcb2037@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Nov 2013 11:38:46 +0100 Tijl Coosemans wrote:
> On Wed, 13 Nov 2013 21:29:23 +0100 Jean-S=E9bastien P=E9dron wrote:
>> Le 10/11/2013 18:20, dt71@gmx.com a =E9crit :
>>> drmn0: info: GTT: 0M 0xF0000000 - 0xEFFFFFFF
>>=20
>> Tijl Coosemans is right, the problem is this line.
>>=20
>> As I don't really now how AGP works and have no AGP hardware to=20
>> reproduce the problem, can you post the output of the following commands=
=20
>> as a start?
>>      pciconf -lvbce
>>      devinfo -vr
>=20
> The attached patch should fix it, but I haven't been able to test it
> yet.  The ai_aperture_size field is in bytes.

So it doesn't work, but it gets a bit further:

drmn0: info: GTT: 256M 0xE0000000 - 0xEFFFFFFF
info: [drm] Generation 2 PCI interface, using max accessible memory
drmn0: info: VRAM: 128M 0x00000000D0000000 - 0x00000000D7FFFFFF (64M used)
info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
info: [drm] Driver supports precise vblank timestamp query.
info: [drm] radeon: irq initialized.
info: [drm] Detected VRAM RAM=3D128M, BAR=3D128M
info: [drm] RAM width 128bits DDR
[TTM] Zone  kernel: Available graphics memory: 519536 kiB
[TTM] Initializing pool allocator
info: [drm] radeon: 64M of VRAM memory ready
info: [drm] radeon: 256M of GTT memory ready.
info: [drm] radeon: 1 quad pipes, 1 Z pipes initialized.
error: [drm:pid54242:radeon_gart_bind] *ERROR* trying to bind memory to uni=
nitialized GART !
error: [drm:pid54242:radeon_ttm_backend_bind] *ERROR* failed to bind 1 page=
s at 0x00000000
drmn0: warning: (-22) create WB bo failed
drmn0: error: Disabling GPU acceleration
info: [drm] radeon: cp finalized
info: [drm] radeon: cp finalized
[TTM] Finalizing pool allocator
[TTM] Zone  kernel: Used memory at exit: 0 kiB
info: [drm] radeon: ttm finalized
info: [drm] Forcing AGP to PCI mode

It looks like some support for AGP is missing in radeon_ttm.c.  It's
hidden behind #ifdef DUMBBELL_WIP.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131114223545.320b94fc>