Jon Smirl wrote:
Wouldn't this severely brake backwards binary compatibility with dri clients compiled with the old size of drm_sarea_t?On Sun, 31 Oct 2004 19:41:03 +0100, Thomas Hellström <[EMAIL PROTECTED]> wrote: The idea was that if such an implementation exists and works, It could beAre the locks generic enough that all hardware needs them? used by any driver that found a potential gain. The generic part would be just a number of locks sitting there if somebody wanted to use them. Each driver would have to assign a certain meaning to each lock used. For each lock there would be a way to resolve contention and to clear the lock if the holder dies. Still I'd have to make a working trial implementation for the VIA driver. The important thing at this stage is to get the basic thoughts right. /Thomas /ThomasYou can extend VIASAREAPriv (drm_via_sarea_t) without messing up the above check. drm_via_sarea_t is much smaller than SAREA_MAX. You will still need to negotiate an interface version since some servers will know about the extended locks and others won't. You'll have to revert to the big lock if all of the clients don't know about the new lock scheme. |
- Re: Multiple hardware locks Thomas Hellstr�m
- Re: Multiple hardware locks Jon Smirl
- Re: Multiple hardware locks Thomas Hellstr�m
- Re: Multiple hardware locks Eric Anholt
- Re: Multiple hardware locks Thomas Hellstr�m
- Re: Multiple hardware locks Keith Whitwell
- Re: Multiple hardware locks Mike Mestnik
- Re: Multiple hardware locks Thomas Hellstr�m
- Re: Multiple hardware locks Nicolai Haehnle
- Re: Multiple hardware locks Thomas Hellstr�m
- Re: Multiple hardware locks Michel D�nzer
