[Intel-gfx] [PATCH]fix for large texture with GEM-classic mode (bug#17964)

Xiang, Haihao haihao.xiang at intel.com
Tue Oct 21 11:31:22 CEST 2008


Hi, 
   Here are 2 patch for bug#17964. Sometimes a large texture(such as
2048x2048) works incorrectly under GEM-classic mode. There are two
problems. Firstly there is an endless loop in intelEmitCopyBlit when
using BLT to copy large texture image to mipmap tree. Secondly
aperture_check only counts the first 3 level BOs, 
The BO for texture is always ignored
(batchbuffer_BO->bind_table_BO->surface_states_BO->texture_BO). 


Thanks
Haihao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesa_intel_large_texture.patch
Type: text/x-patch
Size: 4717 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081021/a66d07bf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intel_bufmgr_fake_aperture_count.patch
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081021/a66d07bf/attachment-0001.bin>


More information about the Intel-gfx mailing list