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:
parent
9e6d55a8d6
commit
90e2740e7e
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue