From: Eric Anholt Date: Tue, 27 Jan 2009 18:33:49 +0000 (-0800) Subject: drm/i915: Return error from i915_gem_object_get_fence_reg() when failing. X-Git-Tag: v2.6.29-rc5~50^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9ddcb96e05cfbadf3dbf66859bcaf5eae25af0b;p=pandora-kernel.git drm/i915: Return error from i915_gem_object_get_fence_reg() when failing. Previously, the caller would continue along without knowing that the function failed, resulting in potential mis-rendering. Right now vm_fault just returns SIGBUS in that case, and we may need to disable signal handling to avoid that happening. Signed-off-by: Eric Anholt Signed-off-by: Dave Airlie --- Reading git-diff-tree failed