https://bugs.freedesktop.org/show_bug.cgi?id=28402

--- Comment #84 from mrste...@gmx.de 2010-10-21 15:56:00 PDT ---
(In reply to comment #44)
> I am currently testing d594e46ace22afa1621254f6f669e65430048153 +
> 8e36113082821980c60ce89a6c5d45fc9492fc26 and the following patch as suggested
> by Dave Airlie on IRC:
> 
> ---8<---------
> diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c
> index c827738..d1a7803 100644
> --- a/drivers/gpu/drm/radeon/r300.c
> +++ b/drivers/gpu/drm/radeon/r300.c
> @@ -477,7 +477,7 @@ void r300_mc_init(struct radeon_device *rdev)
> default: rdev->mc.vram_width = 128; break;
> }
> r100_vram_init_sizes(rdev);
> - base = rdev->mc.aper_base;
> + base = 0;
> if (rdev->flags & RADEON_IS_IGP)
> base = (RREG32(RADEON_NB_TOM) & 0xffff) << 16;
> radeon_vram_location(rdev, &rdev->mc, base);

I have the same problem since 2.6.34. The above hack fixes it for me (tested
with 2.6.35.7 and a few earlier 2.6.35 releases, in frequent use for more than
a month now), while the patch from comment #82 does not help in my case (last
freeze was while using the search bar of firefox).

Video chip is a:

01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon
9600 M10] (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 1772
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at d800 [size=256]
        Memory at ff8f0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at ff8c0000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
        Capabilities: [50] Power Management version 2
        Kernel driver in use: radeon


With the updated patch I get these messages:

Oct 21 16:12:28 [kernel] [drm] initializing kernel modesetting (RV350
0x1002:0x4E50).
Oct 21 16:12:28 [kernel] [drm] register mmio base: 0xFF8F0000
Oct 21 16:12:28 [kernel] [drm] register mmio size: 65536
Oct 21 16:12:28 [kernel] agpgart-intel 0000:00:00.0: AGP 2.0 bridge
Oct 21 16:12:28 [kernel] agpgart-intel 0000:00:00.0: putting AGP V2 device into
4x mode
Oct 21 16:12:28 [kernel] radeon 0000:01:00.0: putting AGP V2 device into 4x
mode
Oct 21 16:12:28 [kernel] radeon 0000:01:00.0: GTT: 256M 0xE0000000 - 0xEFFFFFFF
Oct 21 16:12:28 [kernel] [drm] Generation 2 PCI interface, using max accessible
memory
Oct 21 16:12:28 [kernel] radeon 0000:01:00.0: VRAM: 64M 0xD0000000 - 0xD3FFFFFF
(64M used)
Oct 21 16:12:28 [kernel] [drm] radeon: irq initialized.
Oct 21 16:12:28 [kernel] [drm] Detected VRAM RAM=64M, BAR=128M
Oct 21 16:12:28 [kernel] [drm] RAM width 128bits DDR
Oct 21 16:12:28 [kernel] [TTM] Zone  kernel: Available graphics memory: 442550
kiB.
Oct 21 16:12:28 [kernel] [TTM] Zone highmem: Available graphics memory: 1036090
kiB.
Oct 21 16:12:28 [kernel] [TTM] Initializing pool allocator.
Oct 21 16:12:28 [kernel] [drm] radeon: 64M of VRAM memory ready
Oct 21 16:12:28 [kernel] [drm] radeon: 256M of GTT memory ready.
*SNIP*


While with the hack from comment #44 it looks like this:

Oct 22 00:28:16 [kernel] [drm] radeon kernel modesetting enabled.
Oct 22 00:28:16 [kernel] radeon 0000:01:00.0: PCI INT A -> Link[LNKA] -> GSI 11
(level, low) -> IRQ 11
Oct 22 00:28:16 [kernel] [drm] initializing kernel modesetting (RV350
0x1002:0x4E50).
Oct 22 00:28:16 [kernel] [drm] register mmio base: 0xFF8F0000
Oct 22 00:28:16 [kernel] [drm] register mmio size: 65536
Oct 22 00:28:16 [kernel] agpgart-intel 0000:00:00.0: AGP 2.0 bridge
Oct 22 00:28:16 [kernel] agpgart-intel 0000:00:00.0: putting AGP V2 device into
4x mode
Oct 22 00:28:16 [kernel] radeon 0000:01:00.0: putting AGP V2 device into 4x
mode
Oct 22 00:28:16 [kernel] radeon 0000:01:00.0: GTT: 256M 0xE0000000 - 0xEFFFFFFF
Oct 22 00:28:16 [kernel] [drm] Generation 2 PCI interface, using max accessible
memory
Oct 22 00:28:16 [kernel] radeon 0000:01:00.0: VRAM: 64M 0x00000000 - 0x03FFFFFF
(64M used)
Oct 22 00:28:16 [kernel] [drm] radeon: irq initialized.
Oct 22 00:28:16 [kernel] [drm] Detected VRAM RAM=64M, BAR=128M
Oct 22 00:28:16 [kernel] [drm] RAM width 128bits DDR
Oct 22 00:28:16 [kernel] [TTM] Zone  kernel: Available graphics memory: 442550
kiB.
Oct 22 00:28:16 [kernel] [TTM] Zone highmem: Available graphics memory: 1036090
kiB.
Oct 22 00:28:16 [kernel] [TTM] Initializing pool allocator.
Oct 22 00:28:16 [kernel] [drm] radeon: 64M of VRAM memory ready
Oct 22 00:28:16 [kernel] [drm] radeon: 256M of GTT memory ready.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to