diff options
author | Eric Anholt <eric@anholt.net> | 2009-01-27 10:33:49 -0800 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-02-08 21:37:56 +1000 |
commit | d9ddcb96e05cfbadf3dbf66859bcaf5eae25af0b (patch) | |
tree | ee7b3f9b95f21d8489240578e42f35e6964bc952 /include/drm | |
parent | drm/i915: Set up an MTRR covering the GTT at driver load. (diff) | |
download | linux-dev-d9ddcb96e05cfbadf3dbf66859bcaf5eae25af0b.tar.xz linux-dev-d9ddcb96e05cfbadf3dbf66859bcaf5eae25af0b.zip |
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 <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions