On Fri, Sep 14, 2012 at 7:49 PM, Dmitry Cherkasov dcherkassov@gmail.com wrote:
+#define RADEON_PT_OFFSET(_rdev) \
(RADEON_GPU_PAGE_ALIGN(RADEON_TOTAL_PDE_COUNT(rdev) * RADEON_PDE_SIZE))
Shouldn't that be _rdev too?
Also a few lines above that you use rdev instead of _rdev.
I didn't check the whole thing, just noticed that when i was staring at it for no reason :-)