sna: Remove the conflicting assertion during GTT map

Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=48636
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-04-13 13:51:57 +01:00
parent 9e6d55a8d6
commit 90e2740e7e
1 changed files with 1 additions and 1 deletions

View File

@ -3183,7 +3183,7 @@ void *kgem_bo_map(struct kgem *kgem, struct kgem_bo *bo)
ptr = bo->map;
if (ptr == NULL) {
assert(bytes(bo) <= kgem->aperture_mappable / 4);
assert(kgem_bo_is_mappable(kgem, bo));
kgem_trim_vma_cache(kgem, MAP_GTT, bucket(bo));