From: Chris Wilson Date: Thu, 27 May 2010 12:18:21 +0000 (+0100) Subject: drm/i915: Reject bind_to_gtt() early if object > aperture X-Git-Tag: v2.6.35-rc2~56^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=654fc6073f68efa3b6c466825749e73e7fbb92cd;p=pandora-kernel.git drm/i915: Reject bind_to_gtt() early if object > aperture If the object is bigger than the entire aperture, reject it early before evicting everything in a vain attempt to find space. v2: Use E2BIG as suggested by Owain G. Ainsworth. Signed-off-by: Chris Wilson Cc: stable@kernel.org Signed-off-by: Eric Anholt --- Reading git-diff-tree failed