R300 idling (new subject)
Eric Anholt
eta at lclark.edu
Fri Dec 17 23:16: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. A user-space client is perfectly entitled to mix 2d and 3d code
> and a proper DRM driver must be able to prevent lockups in case user-space
> client screws up.
We've never guaranteed "prevent lockups in case user-space client screws
up" before. Generally reducing lockups in that case is nice, I'd say,
but the "must" would be a new requirement.
--
Eric Anholt eta at lclark.edu
http://people.freebsd.org/~anholt/ anholt at FreeBSD.org
More information about the xorg
mailing list