panfrost: Cleanup transfer_map
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 18 Feb 2020 13:30:10 +0000 (08:30 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 18 Feb 2020 14:13:18 +0000 (14:13 +0000)
commit4c52e16c9c296988dea283164622373caaf228e5
tree718a7b1acd17149c5fb59d0e336f046f779eb47e
parent308f9cf104dab55ab4d9f92150bf6952c9813dd4
panfrost: Cleanup transfer_map

A lot of these checks are obsolete since we've started tracking BO
accesses correctly.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3849>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3849>
src/gallium/drivers/panfrost/pan_resource.c