R300 idling (new subject)
Michel Dänzer
michel at daenzer.net
Sat Dec 18 06:42:40 PST 2004
On Sat, 2004-12-18 at 02:05 -0500, Vladimir Dergachev wrote:
>
> On Sat, 18 Dec 2004, Michel [ISO-8859-1] Dnzer wrote:
>
> > On Fri, 2004-12-17 at 11:21 -0500, Vladimir Dergachev wrote:
> >>
> >> Calling DO_CP_IDLE is a hack no matter where you put it - the right way to
> >> do things is to do a proper cache flush (plus whatever magic is required)
> >> each time 3d activity is followed by 2d one.
> >
> > So is emitting the cache flush(es) in EnterServer() not enough?
>
> No.
Not even instead of the current sledgehammer hack?
> A user-space client is perfectly entitled to mix 2d and 3d code
Only privileged clients like the X server are able to mix them freely.
> and a proper DRM driver must be able to prevent lockups in case user-space
> client screws up.
>
> So either the packet validation code or ioctls will have to deal with
> 3d->2d transition.
Maybe you're right, and considering the above, it may even be relatively
simple to do. But then I still don't understand why you put such a hack
into the X tree, before even asking for other ideas?
--
Earthling Michel Dänzer | Debian (powerpc), X and DRI developer
Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer
More information about the xorg
mailing list