xf86-video-intel: src/sna/kgem.c
Chris Wilson
ickle at kemper.freedesktop.org
Fri Apr 13 05:52:57 PDT 2012
src/sna/kgem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 90e2740e7e459c56205fa65bab1ae3dbfd5d3945
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Apr 13 13:51:57 2012 +0100
sna: Remove the conflicting assertion during GTT map
Reported-by: Clemens Eisserer <linuxhippy at gmail.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=48636
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 14a0067..f0c971e 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -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));
More information about the xorg-commit
mailing list