mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-09-24 15:46:11 +00:00
fb: map reserved memory as writecombine to match non-reserved allocations
This commit is contained in:
@@ -1765,7 +1765,7 @@ static int mxcfb_probe(struct platform_device *pdev)
|
||||
if (res && res->end) {
|
||||
fbi->fix.smem_len = res->end - res->start + 1;
|
||||
fbi->fix.smem_start = res->start;
|
||||
fbi->screen_base = ioremap(fbi->fix.smem_start, fbi->fix.smem_len);
|
||||
fbi->screen_base = ioremap_wc(fbi->fix.smem_start, fbi->fix.smem_len);
|
||||
}
|
||||
|
||||
ret = mxcfb_setup(fbi, pdev);
|
||||
|
||||
Reference in New Issue
Block a user