Commit 27077645 authored by Guido Günther's avatar Guido Günther

Revert "[TEMP] etnaviv: Don't apply pgprot_noncached for ETNA_BO_UNCACHED"

This reverts commit d601c864.

Let's fix this in mesa.
parent 33f2096b
Pipeline #1369 passed with stage
in 31 minutes and 23 seconds
......@@ -133,8 +133,10 @@ static int etnaviv_gem_mmap_obj(struct etnaviv_gem_object *etnaviv_obj,
vm_page_prot = vm_get_page_prot(vma->vm_flags);
if (etnaviv_obj->flags & (ETNA_BO_WC | ETNA_BO_UNCACHED)) {
if (etnaviv_obj->flags & ETNA_BO_WC) {
vma->vm_page_prot = pgprot_writecombine(vm_page_prot);
} else if (etnaviv_obj->flags & ETNA_BO_UNCACHED) {
vma->vm_page_prot = pgprot_noncached(vm_page_prot);
} else {
/*
* Shunt off cached objs to shmem file so they have their own
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment