]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c9b4010c0467e6ed6b0dfacbf1aa7a6a149570b
tree00648292c523c4098567aa605cecdcf44cddc128
parentacee3edf957a1995ea0d934cf8c8ea8f7ba5a8ea
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