[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 08:33:34 PDT 2013
https://bugzilla.kernel.org/show_bug.cgi?id=58511
--- Comment #5 from Chris Wilson <chris at chris-wilson.co.uk> 2013-05-20 15:33:33 ---
We need to add something like:
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index b3c8abd..f0b9ee81 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -2995,7 +2995,10 @@ i915_gem_object_bind_to_gtt(struct drm_i915_gem_object
*obj,
*/
if (obj->base.size >
(map_and_fenceable ? dev_priv->gtt.mappable_end :
dev_priv->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->gtt.mappable_end :
dev_priv->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