r600g: fix tiling with cayman and virtual memory
authorJerome Glisse <jglisse@redhat.com>
Tue, 14 Feb 2012 21:26:12 +0000 (16:26 -0500)
committerJerome Glisse <jglisse@redhat.com>
Tue, 14 Feb 2012 20:56:09 +0000 (15:56 -0500)
commit356eb0aadbb977b0732da077ad31cd66d1b53e23
tree49ff3e85787588586ac1f48797a5b2b3e56f388f
parent6b0a07f9ce844a8a96e2583bd37ed8453bf151c6
r600g: fix tiling with cayman and virtual memory

The virtual address but follow the alignment requirement of the
tiled surface. The bo from handle case is not properly fix. Need
bigger change for a proper fix. Work around that by enforcing 1M
alignment for those bo.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c