On Thu, 1 Mar 2007 17:46:12 +0200 Panagiotis Papadakos <[EMAIL PROTECTED]> wrote:
> Diving more into the code, I also found weird how the scratch cmd > packet is build in radeon_mm_use, in radeon_mm.c. I think it should > be like in the attached patch. This patch will break 64 bit systems. It only works on your system because drm cuts 32 bits off the pointer. This is what drm expects to see: 64_bit_pointer for every buffer 32_bit_index Thus, rmesa->rmm->u_list[id].age is at 64_bit_pointer[32_bit_index] . Since age and h_pending go in pairs, rmesa->rmm->u_list[id].h_pending is at 64_bit_pointer[32_bit_index + 1] . Hope this clears out things a bit. -- Aapo Tahkola ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel