Revert "panfrost: Keep cached BOs mmap'd"
authorIcecream95 <ixn@keemail.me>
Fri, 5 Jun 2020 04:52:23 +0000 (16:52 +1200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 5 Jun 2020 23:51:32 +0000 (23:51 +0000)
commita61532e4dbdf4fbbf5822daeb5907efaf584a375
tree086a0f6f5fa4bb6621330c9ca69ab39d94bfc3a5
parentd97aaad1555ad25fd13af588aa02f9ff3e081e34
Revert "panfrost: Keep cached BOs mmap'd"

This reverts commit 794c239a990e08b5a42d42607e9c5e5b0921390c.

A kernel bug causes cached BOs to not be unmapped correctly,
triggering "bad page cache" kernel messages and causing short hangs.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5355>
src/panfrost/encoder/pan_bo.c