mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-29 08:39:53 +02:00
jz4740_fb: Properly initalize physical video memory address
This commit is contained in:
parent
7df7bde3ac
commit
c456866a4a
@ -315,6 +315,7 @@ static int jzfb_alloc_vidmem(struct jzfb *jzfb)
|
||||
|
||||
framedesc = jzfb->devmem + max_videosize;
|
||||
jzfb->vidmem = jzfb->devmem;
|
||||
jzfb->vidmem_phys = jzfb->devmem_phys;
|
||||
|
||||
framedesc->next = jzfb->devmem_phys + max_videosize;
|
||||
framedesc->addr = jzfb->devmem_phys;
|
||||
|
Loading…
Reference in New Issue
Block a user