pan/decode: Make mapped memory read-only while decoding
[mesa.git] / src / panfrost / pandecode / decode.c
index c64fc4e55934b7df7274585b2f52dbabfc73c0c5..b659614467ead34c83a60943a6abec8d99690aee 100644 (file)
@@ -3281,4 +3281,6 @@ pandecode_jc(mali_ptr jc_gpu_va, bool bifrost, unsigned gpu_id, bool minimal)
                         break;
                 }
         } while ((jc_gpu_va = h->next_job));
+
+        pandecode_map_read_write();
 }