[Nouveau] Gart to vram/vram to gart transfers broken on NVS 140M

Martin PERES martin.peres at free.fr
Sun Apr 25 09:45:37 PDT 2010

Le 22/04/2010 12:20, Stephane Marchesin a écrit :
> On Thu, Apr 22, 2010 at 03:13, Martin Peres<martin.peres at free.fr>  wrote:
>> Hi Nouveau folks,
>> I've been encountering some corruption on pixmaps for a while now, and it
>> seems like the problem comes from the DFS/UTS (Download From Screen / Upload
>> To Screen).
>> In fact, I'm pretty sure the problem comes from there as screenshots are
>> garbled and so does a few more things.
>> I may have time to dig this up, where should I start, is there some
>> documentation on the NVS 140M ? Where is the gart2vram code located ?
>> Do you have any idea of where could be the problem ?
> If you really think that's UTS/DFS, edit nouveau_exa.c and disable
> them (change the UTS/DFS functions to return FALSE, that'll trigger
> fallbacks to sw copying).
> Stephane
In fact, following your advice triggers a lot more corruption. So, the 
problem comes from elsewhere. My corruption problem seems like  there is 
a codepath that copy a pixmap with wrong height and width.

I'll dig into it. I'll keep in touch.


More information about the Nouveau mailing list