diff options
author | Eric Anholt <eric@anholt.net> | 2010-11-02 11:21:56 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-11-02 11:32:32 -0700 |
commit | a52e61b5c888444435929a2770f14109c3a94f2f (patch) | |
tree | 1be1a7ce281e24fffb0b3464812ad2058849ae97 /tests/modetest/modetest.c | |
parent | 4abb65f95c79c9a2ec2cc1147a753704b5cdd22e (diff) |
intel: Drop silly asserts on mappings present at unmap time.
The intent of these was to catch mismatched map/unmap. What it
actually did was check whether there was ever a mapping of that type
(including in a previous life of the buffer through the userland BO
cache), not whether they were mismatched. We don't even actually want
to catch mismatched map/unmap, unless we also do refcounting, since at
one point Mesa would do map/map/use/unmap/unmap. Just remove this
code instead.
Diffstat (limited to 'tests/modetest/modetest.c')
0 files changed, 0 insertions, 0 deletions