On Mon, 31 Mar 2014 08:33:29 -0700 (PDT)
Ivan Kozic <[email protected]> wrote:

> Hi Luc,
> 
> Found out why disp driver has choppy overlay - for me overlay comes through 
> DMA from memory. Funny thing - disp_malloc is fetching cached memory, so 
> choppiness or "trailing" is due to caching framebuffer protected memory.
> Very silly - I found this out by changing caching method of ARM from 
> WRITEALLOC to WRITETHROUGH, also waited 10 minutes for system to boot up :)
> 
> The matter is solved by adding the following line to disp_mmap() function:
> 
> vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
> 
> Solved. Just wondering how people were using this before...

As far as I know, nobody is using these bug ridden memory allocators
that Allwinner has implemented in disp and g2d drivers. Except for
maybe Allwinner itself in their Android code.

-- 
Best regards,
Siarhei Siamashka

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to