Re: radeon tiling again...

2005-01-24 Thread Roland Scheidegger
Michel DÃnzer wrote: On Mon, 2005-01-24 at 23:42 +0100, Roland Scheidegger wrote: Alex Deucher wrote: actually RADEONAdjustFrame() should handle mergedfb fine. RADEONAdjustFrame() will then call RADEONAdjustFrameMerged() You're right I mixed that up with DoAdjustFrame. I can't see though why this

Re: radeon tiling again...

2005-01-24 Thread Michel Dänzer
On Mon, 2005-01-24 at 23:42 +0100, Roland Scheidegger wrote: > Alex Deucher wrote: > > actually RADEONAdjustFrame() should handle mergedfb fine. > > RADEONAdjustFrame() will then call RADEONAdjustFrameMerged() > You're right I mixed that up with DoAdjustFrame. I can't see though why > this shouldn

Re: radeon tiling again...

2005-01-24 Thread Roland Scheidegger
Alex Deucher wrote: actually RADEONAdjustFrame() should handle mergedfb fine. RADEONAdjustFrame() will then call RADEONAdjustFrameMerged() You're right I mixed that up with DoAdjustFrame. I can't see though why this shouldn't work just the same as pScrn->AdjustFrame (I don't see any code which wo

Re: radeon tiling again...

2005-01-24 Thread Alex Deucher
On Mon, 24 Jan 2005 22:59:46 +0100, Roland Scheidegger <[EMAIL PROTECTED]> wrote: > Michel Dänzer wrote: > >>will never appear again. > >>I believe the problem is AdjustFrame is only called before dri > >>initialization is finished, so directRendering is not enabled yet and > >>thus the values in t

Re: radeon tiling again...

2005-01-24 Thread Roland Scheidegger
Michel DÃnzer wrote: will never appear again. I believe the problem is AdjustFrame is only called before dri initialization is finished, so directRendering is not enabled yet and thus the values in the sarea never written. However, I tried fixing that by moving (also tried copying) the pScrn->Adj

Re: radeon tiling again...

2005-01-24 Thread Michel Dänzer
On Mon, 2005-01-24 at 22:24 +0100, Roland Scheidegger wrote: > Alex Deucher wrote: > >>>pageflipping still doesn't work with mergedfb. > >> > >>Is that with Roland's separate patch for this applied as well? > > > > yes. I doesn't work with various attempts I made as well. > I've done some tests t

Re: radeon tiling again...

2005-01-24 Thread Alex Deucher
On Mon, 24 Jan 2005 22:24:54 +0100, Roland Scheidegger <[EMAIL PROTECTED]> wrote: > Alex Deucher wrote: > >>>Tested these on mergedfb and all works well. pageflipping still > >>>doesn't work with mergedfb. > >> > >>Is that with Roland's separate patch for this applied as well? > >> > > > > > > yes

Re: radeon tiling again...

2005-01-24 Thread Roland Scheidegger
Alex Deucher wrote: Tested these on mergedfb and all works well. pageflipping still doesn't work with mergedfb. Is that with Roland's separate patch for this applied as well? yes. I doesn't work with various attempts I made as well. I've done some tests too with faked mergedfb (replugging the mo

Re: radeon tiling again...

2005-01-23 Thread Michel Dänzer
On Sun, 2005-01-23 at 20:42 -0500, Alex Deucher wrote: > > > > Both viewports end up at zero as usual. > > > > That doesn't make sense, at least CRTC2 should always have worked > > correctly. I suspect something's wrong on your end, unless you're using > > the *-core DRM maybe, and this was broke

Re: radeon tiling again...

2005-01-23 Thread Alex Deucher
On Sun, 23 Jan 2005 19:58:29 -0500, Michel Dänzer <[EMAIL PROTECTED]> wrote: > On Sun, 2005-01-23 at 18:33 -0500, Alex Deucher wrote: > > On Fri, 21 Jan 2005 21:03:06 +0100, Roland Scheidegger > > <[EMAIL PROTECTED]> wrote: > > > Ok, new version is up here: > > > http://homepage.hispeed.ch/rscheide

Re: radeon tiling again...

2005-01-23 Thread Michel Dänzer
On Sun, 2005-01-23 at 18:33 -0500, Alex Deucher wrote: > On Fri, 21 Jan 2005 21:03:06 +0100, Roland Scheidegger > <[EMAIL PROTECTED]> wrote: > > Ok, new version is up here: > > http://homepage.hispeed.ch/rscheidegger/dri_experimental/radeon_tiling_drm9.diff > > http://homepage.hispeed.ch/rscheidegg

Re: radeon tiling again...

2005-01-23 Thread Alex Deucher
On Fri, 21 Jan 2005 21:03:06 +0100, Roland Scheidegger <[EMAIL PROTECTED]> wrote: > Ok, new version is up here: > http://homepage.hispeed.ch/rscheidegger/dri_experimental/radeon_tiling_drm9.diff > http://homepage.hispeed.ch/rscheidegger/dri_experimental/radeon_tiling_ddx9.diff > http://homepage.his

Re: radeon tiling again...

2005-01-23 Thread Roland Scheidegger
Michel DÃnzer wrote: On Sun, 2005-01-23 at 02:48 +0100, Roland Scheidegger wrote: You're right though it might not be a very good idea to support depth moves corretly only sometimes. Guess it would in fact be better to not support them at all, Keith seemed to be perfectly happy with that solution.

Re: radeon tiling again...

2005-01-23 Thread Dieter Nützel
Am Freitag, 21. Januar 2005 21:03 schrieb Roland Scheidegger: > Ok, new version is up here: > http://homepage.hispeed.ch/rscheidegger/dri_experimental/radeon_tiling_drm9 >.diff > http://homepage.hispeed.ch/rscheidegger/dri_experimental/radeon_tiling_ddx9 >.diff > http://homepage.hispeed.ch/rscheide

Re: radeon tiling again...

2005-01-23 Thread Keith Whitwell
Michel DÃnzer wrote: On Sun, 2005-01-23 at 02:48 +0100, Roland Scheidegger wrote: You're right though it might not be a very good idea to support depth moves corretly only sometimes. Guess it would in fact be better to not support them at all, Keith seemed to be perfectly happy with that solution.

Re: radeon tiling again...

2005-01-23 Thread Keith Whitwell
Roland Scheidegger wrote: Michel DÃnzer wrote: Also, I only now noticed this comment in the DDX diff: Well, the comment is new in this patch (and so is the code for depth moves, the older patches just have a "remember for later" comment, forgot to mention) /* The Radeon has depth tiling on all t

Re: radeon tiling again...

2005-01-22 Thread Michel Dänzer
On Sun, 2005-01-23 at 02:48 +0100, Roland Scheidegger wrote: > > You're right though it might not be a very good idea to support depth > moves corretly only sometimes. Guess it would in fact be better to not > support them at all, Keith seemed to be perfectly happy with that > solution. Will remov

Re: radeon tiling again...

2005-01-22 Thread Roland Scheidegger
Michel DÃnzer wrote: http://homepage.hispeed.ch/rscheidegger/dri_experimental/radeon_tiling_drm9.diff http://homepage.hispeed.ch/rscheidegger/dri_experimental/radeon_tiling_ddx9.diff http://homepage.hispeed.ch/rscheidegger/dri_experimental/radeon_tiling_dri9.diff This one now uses the new surface i

Re: radeon tiling again...

2005-01-22 Thread Michel Dänzer
On Fri, 2005-01-21 at 21:03 +0100, Roland Scheidegger wrote: > Ok, new version is up here: > http://homepage.hispeed.ch/rscheidegger/dri_experimental/radeon_tiling_drm9.diff > http://homepage.hispeed.ch/rscheidegger/dri_experimental/radeon_tiling_ddx9.diff > http://homepage.hispeed.ch/rscheidegger