commit | e1a11b81547049588379386d4c045d5de3937c47 | [log] [tgz] |
---|---|---|
author | Iago Toral Quiroga <itoral@igalia.com> | Wed Jun 17 12:15:42 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Oct 13 21:21:31 2020 +0000 |
tree | 0fc749ad0d272d22846bd8db95e8a03ade4dccdc | |
parent | 7fb9afcf541313f8810607f1600329608b67085c [diff] |
v3dv: always map full BOs Both the API user and the driver may attempt to map a BO, possibly only partially and using different ranges. This is a problem because we only have a single map per BO. Fix this by making sure that when a BO is mapped, we always map its entire range. This way if a BO has been mapped before, we know that map is still valid no matter the region we need to access now. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>