diff options
author | 2010-05-27 13:18:21 +0100 | |
---|---|---|
committer | 2010-05-28 10:52:15 -0700 | |
commit | 654fc6073f68efa3b6c466825749e73e7fbb92cd (patch) | |
tree | b6b0c3905dd1777a3412c855cec3b0db0785dbc7 /net | |
parent | drm/i915: Check error code whilst moving buffer to GTT domain. (diff) | |
download | linux-dev-654fc6073f68efa3b6c466825749e73e7fbb92cd.tar.xz linux-dev-654fc6073f68efa3b6c466825749e73e7fbb92cd.zip |
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 <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions