intel: Drop silly asserts on mappings present at unmap time.
authorEric Anholt <eric@anholt.net>
Tue, 2 Nov 2010 18:21:56 +0000 (11:21 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 2 Nov 2010 18:32:32 +0000 (11:32 -0700)
commita52e61b5c888444435929a2770f14109c3a94f2f
tree1be1a7ce281e24fffb0b3464812ad2058849ae97
parent4abb65f95c79c9a2ec2cc1147a753704b5cdd22e
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.
intel/intel_bufmgr_gem.c