On Thursday, September 04, 2008 7:25 am Maksym Veremeyenko wrote: > Michel Dänzer написав(ла): > [...] > > >> where it submits crtc==0 - index of first available pipe instead of > >> index of first active pipe. perhaps if enabled only one pipe it assume > >> that it has index 0 (FIX ME) > > > > The crtc value is derived from what you pass to drmWaitVBlank(): if you > > want to wait on CRTC 1, you need to set vbl.request.type |= > > DRM_VBLANK_SECONDARY. > > Thank! That works! > > As i correctly understood the term _SECONDARY addressed to PIPE > enumeration in a case of "multi-pipes" adapter rather then to MONITORS > connected to adapter: > [...] > DRM_VBLANK_SECONDARY = 0x20000000, /**< Secondary display controller > */ [...]
Note that Mesa 7.1 includes fixes on this front, though I'm not sure if you're using Mesa. Versions prior to 7.1 wouldn't ever pass DRM_VBLANK_SECONDARY on some configurations (965 I think). Jesse ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel