nvfx: dont swizzle stuff into GART
authorXavier Chantry <chantry.xavier@gmail.com>
Wed, 14 Apr 2010 21:44:22 +0000 (23:44 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Thu, 15 Apr 2010 06:15:22 +0000 (08:15 +0200)
commita1fdf121601318c8eb34e77daf49aef09c0254ca
treefbeb4eca5a976784a046ee88cfbccde009a5c3f3
parent42d9f2bb7bc21ff8c1a3fc4b4ceb4d294bccaabe
nvfx: dont swizzle stuff into GART

swzsurf doesn't support GART

Thanks to Marcin Koƛcielnicki <koriakin@0x04.net> for spotting that !

This fixes corruption in etracer and the following related errors :
[14381.551927] [drm] nouveau 0000:01:00.0: PGRAPH_ERROR - nSource:
PROTECTION_ERROR, nStatus: INVALID_STATE
[14381.551945] [drm] nouveau 0000:01:00.0: PGRAPH_ERROR - Ch 2/2 Class
0x039e Mthd 0x0184 Data 0x00001cd9:0x00001cd9

Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Adapted by Luca Barbieri for mesa master.
src/gallium/drivers/nvfx/nv04_surface_2d.c