On Mon, 2005-11-28 at 02:18 -0800, vehemens wrote:
> I've been looking at my remaining lockups, and find that I keep coming back 
> to 
> the use of scratch registers in the driver for one of them.
> 
> If I'm reading the code correctly,  the scratch registers are per device, not 
> per client.  This would mean that you can't run more then one client without 
> the potential of one stepping on the other.
> 
> My read of the MESA code suggests that a stepped on client could then stall 
> out waiting for a condition that would probably never happen 
> (non-deterministic anyway).
> 
> Does this sound correct, or am I missing something?

The DRM lock should protect that ... note that I just spotted a DRM fix
"drm: fix quiescent locking" going into the linux kernel that may
explain races with the DRM lock.

Also, there has been historical issues with the scratch register
writeback. Have you tried disabling writeback via AGP ?

Ben.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to