diff options
| -rw-r--r-- | drivers/gpu/drm/i915/i915_gem_gtt.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c index e33b1214c4d8..e82cec2c714e 100644 --- a/drivers/gpu/drm/i915/i915_gem_gtt.c +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c | |||
| @@ -1349,13 +1349,7 @@ err_out: | |||
| 1349 | 1349 | ||
| 1350 | static int gen6_ppgtt_alloc(struct i915_hw_ppgtt *ppgtt) | 1350 | static int gen6_ppgtt_alloc(struct i915_hw_ppgtt *ppgtt) |
| 1351 | { | 1351 | { |
| 1352 | int ret; | 1352 | return gen6_ppgtt_allocate_page_directories(ppgtt); |
| 1353 | |||
| 1354 | ret = gen6_ppgtt_allocate_page_directories(ppgtt); | ||
| 1355 | if (ret) | ||
| 1356 | return ret; | ||
| 1357 | |||
| 1358 | return 0; | ||
| 1359 | } | 1353 | } |
| 1360 | 1354 | ||
| 1361 | static void gen6_scratch_va_range(struct i915_hw_ppgtt *ppgtt, | 1355 | static void gen6_scratch_va_range(struct i915_hw_ppgtt *ppgtt, |
