Keith Whitwell wrote:
Here's a patch that mainly works. I've still seen the odd case of the texture apparently getting uploaded to the backbuffer.

...but *only* if you have a kernel module installed that understands rectangle state. As it is, the code in radeon_state_init.c allows texture rectangle state to be emitted even if the DRM cannot handle the RADEON_PP_TEX_SIZE_? packets. The result is an immediate "drmCommandWrite: -22" for any GL program. :( I copied over the test from radeon_context.c to the two places in radeon_state_init.c that set-up the state atoms, but that's not a very pretty sollution.


I only noticed this because when I try to insmod the new radeon.o, it fails on an undefined symbol "mmu_cr4_features". The wierd part is that /boot/System.map-2.4.21-rc2-ac2 shows it as being in global BSS ("c02ccd0c B mmu_cr4_features"), *but* /proc/ksyms doesn't show it. I don't get it.



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to