diff options
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_execbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_execbuffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c index 792c52a235ee..bf345777ae9f 100644 --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c | |||
@@ -310,6 +310,9 @@ i915_gem_execbuffer_relocate_entry(struct drm_i915_gem_object *obj, | |||
310 | else | 310 | else |
311 | ret = relocate_entry_gtt(obj, reloc); | 311 | ret = relocate_entry_gtt(obj, reloc); |
312 | 312 | ||
313 | if (ret) | ||
314 | return ret; | ||
315 | |||
313 | /* and update the user's relocation entry */ | 316 | /* and update the user's relocation entry */ |
314 | reloc->presumed_offset = target_offset; | 317 | reloc->presumed_offset = target_offset; |
315 | 318 | ||