diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index bf486b14283..81179fb5150 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -4905,7 +4905,9 @@ static int intel_crtc_page_flip(struct drm_crtc *crtc, | |||
4905 | drm_gem_object_reference(obj); | 4905 | drm_gem_object_reference(obj); |
4906 | 4906 | ||
4907 | crtc->fb = fb; | 4907 | crtc->fb = fb; |
4908 | i915_gem_object_flush_write_domain(obj); | 4908 | ret = i915_gem_object_flush_write_domain(obj); |
4909 | if (ret) | ||
4910 | goto cleanup_objs; | ||
4909 | 4911 | ||
4910 | ret = drm_vblank_get(dev, intel_crtc->pipe); | 4912 | ret = drm_vblank_get(dev, intel_crtc->pipe); |
4911 | if (ret) | 4913 | if (ret) |