On Fri, 2007-06-15 at 09:27 -0700, Jesse Barnes wrote:
> On Friday, June 15, 2007 4:15:57 Michel Dänzer wrote:
> > On Thu, 2007-06-14 at 11:37 -0700, Jesse Barnes wrote:
> > > Ok, I updated the branch with most of your suggestions.  I think
> > > the ioctl still needs work (just made it a u64 for now),
> > > since at the very least we'll need to add the new one Keith
> > > suggested to handle CRTC reconfiguration.
> >
> > Not sure it's really needed. E.g. the driver get_vblank_counter hook
> > could return 0 for a disabled CRTC, so the core would handle a CRTC
> > getting disabled as a wraparound, and then the code disabling the
> > CRTC could call drm_handle_vblank to wake up its waiters.
> 
> But the code that handles disabling the CRTC doesn't exist yet, so it 
> would either be in the X server DDX or an ioctl to the DRM driver, 
> right?

I was thinking of i915_vblank_pipe_set(). One problem though is that the
X driver currently only ever calls this with pipes set to 0x0, 0x1 or
0x3, even when only pipe B is actually enabled. Wonder if it might be
worth breaking compatibility with Mesa again for some of these cases...


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to