|
From: Ashley P. <as...@qu...> - 2006-03-08 10:33:15
|
On Wed, 2006-03-08 at 12:42 +1100, Dave Airlie wrote: > > > > Nope. You have the address -- just dereference it! > > > > I knew I was missing something simple, forgot that data was already > written to the address at that time.. > > I'd really like to know though what the system was going to write > before it wrote it as well, as some graphics chips may have write-only > registers, where readback gives a totally different answer... in that > case do I need to do that hard work? This tool is exactly the same as one I was discussing on Monday, we to do something very similar (with a network card rather than a GPU) and have the problem you describe here that the mmaped memory is write-only, it gives back garbage when read. I'd be very interested in seeing your tool when it's up and running. Ashley, |