Message ID | 1409247613-14232-8-git-send-email-gustavo@padovan.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 42bd6c6..eb6febf 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -2681,7 +2681,7 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y, /* no fb bound */ if (!fb) { DRM_ERROR("No FB bound\n"); - return 0; + return -EINVAL; } if (intel_crtc->plane > INTEL_INFO(dev)->num_pipes) {