[Bug 58511] [drm:i915_gem_object_bind_to_gtt] *ERROR* Attempting to bind an object larger than the aperture

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon May 20 09:17:23 PDT 2013


https://bugzilla.kernel.org/show_bug.cgi?id=58511





--- Comment #6 from hreuver <h.reuver at aoi-karin.net>  2013-05-20 16:17:22 ---
Compilation is running. Hope to post the results later this evening.

Rewrote the patch to:
--- drivers/gpu/drm/i915/i915_gem.c     2013-05-20 18:12:16.045666581 +0200
+++ ../linux-3.2.45-2/drivers/gpu/drm/i915/i915_gem.c   2013-05-20
18:06:12.947864729 +0200
@@ -2759,7 +2759,10 @@
         */
        if (obj->base.size >
            (map_and_fenceable ? dev_priv->mm.gtt_mappable_end :
dev_priv->mm.gtt_total)) {
-               DRM_ERROR("Attempting to bind an object larger than the
aperture\n");
+                DRM_ERROR("Attempting to bind an object larger than the
aperture: object=%ld > %s aperture=%ld\n",
+                      obj->base.size,
+                      map_and_fenceable ? "mappable" : "total",
+                      map_and_fenceable ? dev_priv->mm.gtt_mappable_end :
dev_priv->mm.gtt_total);
                return -E2BIG;
        }

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the intel-gfx-bugs mailing list