drm/i915: Don't mask the return code whilst relocating.
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 2 Oct 2010 14:12:41 +0000 (15:12 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 2 Oct 2010 14:12:41 +0000 (15:12 +0100)
commit1cdf7fef793c715d8c4998575aba3741fa4a0b01
tree00648292c523c4098567aa605cecdcf44cddc128
parentae681d969ac0946e09636f2bef7a126d73e1ad6b
drm/i915: Don't mask the return code whilst relocating.

The return from move_to_gtt_domain() may indicate a pending signal which
needs to handled as opposed to an actual error, for instance, so report
the original return value rather than forcing an EINVAL.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c