Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2010 09:13:04 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Alex Keda <admin@lissyara.su>
Cc:        current@freebsd.org
Subject:   Re: xorg hangs after last commits
Message-ID:  <4BD6F0F0.6000204@FreeBSD.org>
In-Reply-To: <4BD6EF69.6000105@lissyara.su>
References:  <4BD6CBE6.9030303@lissyara.su> <4BD6ECBA.6010408@FreeBSD.org> <4BD6EF69.6000105@lissyara.su>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090901090906020604070806
Content-Type: text/plain; charset=windows-1251; format=flowed
Content-Transfer-Encoding: 8bit



Alex Keda wrote:
> 27.04.2010 17:55, Robert Noland пишет:
>>
>>
>> Alex Keda wrote:
>>> Following recent changes in dri, xorg server freezes after 20-30 
>>> seconds of work. mouse works, but the image does not change.
>>> process xorg get 100% cpu
>>> if I delete/rename drm.ko - all OK (but, very slow)
>>>
>>>
>>> vgapci0@pci0:1:5:0:     class=0x030000 card=0x12ff103c 
>>> chip=0x791e1002 rev=0x00 hdr=0x00
>>>     vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
>>>     device     = 'ATI RADEON X1200 Series (RS690)'
>>>     class      = display
>>>     subclass   = VGA
>>>     bar   [10] = type Prefetchable Memory, range 64, base 0xd0000000, 
>>> size 134217728, enabled
>>>     bar   [18] = type Memory, range 64, base 0xd8500000, size 65536, 
>>> enabled
>>>     bar   [20] = type I/O Port, range 32, base 0x1100, size 256, enabled
>>>     bar   [24] = type Memory, range 32, base 0xd8400000, size 
>>> 1048576, enabled
>>>     cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
>>>     cap 05[80] = MSI supports 1 message, 64 bit
>>
>> Ok, does this patch help?
> yes. I work without freeze more than 3 minutes =))

How about this one?

robert.

> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

--------------090901090906020604070806
Content-Type: text/x-patch;
 name="ati_pcigart-2.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="ati_pcigart-2.diff"

Index: ati_pcigart.c
===================================================================
--- ati_pcigart.c	(revision 207069)
+++ ati_pcigart.c	(working copy)
@@ -220,6 +220,8 @@
 	ret = 1;
 
     done:
+	if (gart_info->gart_reg_if == DRM_ATI_GART_IGP)
+		DRM_MEMORYBARRIER();
 	gart_info->addr = address;
 	gart_info->bus_addr = bus_address;
 	return ret;

--------------090901090906020604070806--



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