Merge "msm: kgsl: Change device-type memory mapping to Normal-NC"
This commit is contained in:
commit
b584568fe7
1 changed files with 1 additions and 1 deletions
|
@ -3891,7 +3891,7 @@ kgsl_mmap_memstore(struct kgsl_device *device, struct vm_area_struct *vma)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
|
vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot);
|
||||||
|
|
||||||
result = remap_pfn_range(vma, vma->vm_start,
|
result = remap_pfn_range(vma, vma->vm_start,
|
||||||
device->memstore.physaddr >> PAGE_SHIFT,
|
device->memstore.physaddr >> PAGE_SHIFT,
|
||||||
|
|
Loading…
Add table
Reference in a new issue