On Mon, 2003-07-14 at 17:47, Alex Deucher wrote: > -- Michel Dänzer <[EMAIL PROTECTED]> wrote: > > > > > > > > I forgot to unattach the patch, it's clearly wrong (if it was > > > > correct, > > > > the error would have been significant and on the y axis). Do you > > > > agree > > > > that in RADEONDoAdjustFrame() and radeon_cp_dispatch_flip() the > > same > > > > value gets written to RADEON_CRTC_OFFSET for the same frame > > position? > > > > (Note that pitch = displayWidth * <bytes per pixel>) > > > > > > no. the order of operations are different. RADEONDoAdjustFrame() > > > multiplies _all_ of base by 2, 3, or 4 while > > radeon_cp_dispatch_flip() > > > only multipies x by the color_fmt. > > > > You didn't read my notes in parentheses. ;) In addition to the one > > about > > the y axis above, I wrote: > > > > > > (Note that pitch = displayWidth * <bytes per pixel>) > > > > and <bytes per pixel> = color_fmt-2 . > > > > Ah yes... my algebra skills are getting rusty... yes, they are > equilvalent. now the question is, should they be (I assume so)?
Yes. > I'm not sure how pageflipping is supposed to work. The idea is that the DRM should preserve the frame position on both CRTCs on a flip. :) -- Earthling Michel Dänzer \ Debian (powerpc), XFree86 and DRI developer Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel