r350 drm

Jonathan Noack noackjr at alumni.rice.edu
Wed May 4 21:48:42 PDT 2005


I decided to play around with all the new DRM/DRI/XORG/ETC stuff.  I 
looked over at the r300.sourceforge.net site for some info, added my 
All-In-Wonder 9800 Pro to the PCI IDs (see attached drm.diff), and then 
kldloaded radeon.  Looks like it worked successfully:

kernel: drm0: <ATI Radeon NH R350 9800 Pro> port 0x7800-0x78ff mem 
0xd0000000-0xd7ffffff,0xefcf0000-0xefcfffff irq 16 at device 0.0 on pci1
kernel: info: [drm] AGP at 0xe0000000 128MB
kernel: info: [drm] Initialized radeon 1.16.0 20050311 on minor 0
kernel: info: [drm] Loading R300 Microcode

With the xorg-server-snapshot and dri-devel I seem to have even enabled 
direct rendering (see Xorg log output in attached drm.txt), although 
render acceleration is disabled.

My question is this:
Does direct rendering without render acceleration gain me anything?

Corollary:
Does my patch actually do anything useful?

It's awesome to see parts of the All-In-Wonder like the RageTheater 200 
chip being detected.  I can't wait to not have to reboot into Windows to 
watch TV...

-- 
Jonathan Noack | noackjr at alumni.rice.edu | OpenPGP: 0x991D8195
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drm.diff
Type: text/x-patch
Size: 1688 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20050504/b94fbcc7/drm.bin
-------------- next part --------------
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
	compiled for 6.8.99.5, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.2
...
(WW) RADEON(0): Enabling DRM support

	*** Direct rendering support is highly experimental for Radeon 9500
	*** and newer cards. In fact, the only thing you could probably use
	***  it for is better 2d acceleration. The 3d mesa driver is not  
	*** provided in this tree. A very experimental (and incomplete)
	*** version is available from http://r300.sourceforge.net
	*** This message has been last modified on 12/12/04.

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: drmOpenMinor returns 6
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xc4631000
(II) RADEON(0): [drm] mapped SAREA 0xc4631000 to 0x28770000
(II) RADEON(0): [drm] framebuffer handle = 0xd0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000201 [AGP 0x0000/0x0000; Card 0x1002/0x4e48]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0xc2ef2800
(II) RADEON(0): [agp] ring handle = 0xe0000000
(II) RADEON(0): [agp] Ring mapped at 0x30861000
(II) RADEON(0): [agp] ring read ptr handle = 0xe0101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x28772000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xe0102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x30962000
(II) RADEON(0): [agp] GART texture map handle = 0xe0302000
(II) RADEON(0): [agp] GART Texture map mapped at 0x30b62000
(II) RADEON(0): [drm] register handle = 0xefcf0000
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): Depth moves disabled by default
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB GART aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for GART textures
(II) RADEON(0): Memory manager initialized to (0,0) (1600,8191)
(II) RADEON(0): Reserved area from (0,1200) to (1600,1202)
(II) RADEON(0): Largest offscreen area available: 1600 x 6989
(II) RADEON(0): Will use back buffer at offset 0x1d5a000
(II) RADEON(0): Will use depth buffer at offset 0x24ad000
(II) RADEON(0): Will use 86016 kb for textures at offset 0x2c00000
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and newer.
(II) RADEON(0): Render acceleration disabled
...
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 16
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): Direct rendering enabled
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20050504/b94fbcc7/signature.bin


More information about the freebsd-x11 mailing list