Hi Felix!

Monday 20, at 02:11:17 AM you wrote:

> On Sun, 19 Sep 2004 17:27:02 -0400
> Jon Smirl <[EMAIL PROTECTED]> wrote:
> 
> > That should be >= in the patch not <=.  The requested size needs to be
> > smaller than the permanent map size.
> 
> That's not enough. You also need to change DRM(mmap), otherwise DRI
> clients will fail to mmap the frame buffer. The attached patch does
> both. This way I got permanent maps working in the Savage driver (not
> committed yet) without probing the video ram in preinit.
For me it helps a little - now drm don't complaints about AddMap, but DRI
still not working.

from XFree86.0.log:

<skip>
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: drmOpenMinor returns 5
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) RADEON(0): [drm] loaded kernel module for "radeon" driver
(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 0xe0b4a000
(II) RADEON(0): [drm] mapped SAREA 0xe0b4a000 to 0x48243000
(II) RADEON(0): [drm] framebuffer handle = 0xd0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000201 [AGP 0x8086/0x2530; Card 0x1002/0x514c]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001
(II) RADEON(0): [agp] ring handle = 0xe8000000
(II) RADEON(0): [agp] Ring mapped at 0x48245000
(II) RADEON(0): [agp] ring read ptr handle = 0xe8101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x48346000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xe8102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x48347000
(II) RADEON(0): [agp] GART texture map handle = 0xe8302000
(II) RADEON(0): [agp] GART Texture map mapped at 0x48547000
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xe0b4a000 at 0x48243000
(II) RADEON(0): Memory manager initialized to (0,0) (1152,8191)
(II) RADEON(0): Reserved area from (0,864) to (1152,866)
(II) RADEON(0): Largest offscreen area available: 1152 x 7325
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Scanline Image Writes
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                32 256x256 slots
                16 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 866)
(II) RADEON(0): Largest offscreen area available: 1152 x 7321
(**) Option "dpms"
(**) RADEON(0): DPMS enabled
(II) RADEON(0): Direct rendering disabled

from /var/log/messages

<skip>
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel i850 Chipset.
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 64M @ 0xe8000000
radeon: Ignoring new-style parameters in presence of obsolete ones
mtrr: 0xd0000000,0x10000000 overlaps existing 0xd0000000,0x8000000
[drm] Initialized radeon 1.11.0 20020828 on minor 0: ATI Technologies Inc Radeon R200 
QL [Radeon 8500 LE]
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 0x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 0x mode
agpgart: Putting AGP V2 device at 0000:02:04.0 into 0x mode
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:radeon_unlock] *ERROR* Process 7737 using kernel context 0

-- 
WBR, Konstantin       chat with ==>ICQ: 109916175
     Lepikhov,        speak  to ==>JID: [EMAIL PROTECTED]
aka L.A. Kostis       write  to ==>mailto:[EMAIL PROTECTED]

...The information is like the bank...                    (c) EC8OR


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to