On Sat, 2004-11-20 at 20:22 -0600, Kevin O'Brien wrote: > On Fri, 2004-11-19 at 11:17, Michel DÃnzer wrote: > > On Fri, 2004-11-19 at 00:44 -0600, Kevin O'Brien wrote: > > > On Thu, 2004-11-18 at 03:57, Felix KÃhling wrote: > > > > Am Do, den 18.11.2004 schrieb Kevin O'Brien um 8:03: > > > > > > Page flipping doesn't work with Merge Frame Buffer, [...] > > > > Sounds like a bug that should be fixed. > > What I see is the contents of the primary display duplicated on the > second. If there are any hints where to look, I'd be very happy to try > to investigate this.
Sounds like pSAREAPriv->crtc2_base doesn't get set correctly, but it's not obvious to me why that would be. > > > Is there a way to ensure the Radeon blits from top to bottom? > > > > Sure, by setting the DST_Y_TOP_TO_BOTTOM bit in the DP_CNTL register. > > Might be a good idea to do that in radeon_cp_dispatch_swap(). > > Alas, I can't get this to work. My changes have no effect on the > problem. I increased the size of BEGIN_RING to hold the two entries > required to do this. First attempt tried using OUT_RING_REG. Second > attempt was to use two OUT_RING calls. I also tried adjusting > DP_CNTL_XDIR_YDIR_YMAJOR (based on definitions in DRI.) The bits in DP_CNTL are mirrors of those in DP_CNTL_XDIR_YDIR_YMAJOR. I suspect the problem is that the CP overrides the blit direction because the source and destination coordinates 'overlap'. Try doing the blit like the 2D ScreenToScreenCopy does instead of using a type 3 packet. Then you shouldn't even have to worry about the blit direction because a write to DP_GUI_MASTER_CNTL will reset it to from top left to bottom right. -- Earthling Michel DÃnzer | Debian (powerpc), X and DRI developer Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel