diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 32c8c956d97..d2fb8cf3de0 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -1958,7 +1958,7 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y, | |||
1958 | 1958 | ||
1959 | /* no fb bound */ | 1959 | /* no fb bound */ |
1960 | if (!crtc->fb) { | 1960 | if (!crtc->fb) { |
1961 | DRM_DEBUG_KMS("No FB bound\n"); | 1961 | DRM_ERROR("No FB bound\n"); |
1962 | return 0; | 1962 | return 0; |
1963 | } | 1963 | } |
1964 | 1964 | ||
@@ -1967,6 +1967,7 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y, | |||
1967 | case 1: | 1967 | case 1: |
1968 | break; | 1968 | break; |
1969 | default: | 1969 | default: |
1970 | DRM_ERROR("no plane for crtc\n"); | ||
1970 | return -EINVAL; | 1971 | return -EINVAL; |
1971 | } | 1972 | } |
1972 | 1973 | ||
@@ -1976,6 +1977,7 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y, | |||
1976 | NULL); | 1977 | NULL); |
1977 | if (ret != 0) { | 1978 | if (ret != 0) { |
1978 | mutex_unlock(&dev->struct_mutex); | 1979 | mutex_unlock(&dev->struct_mutex); |
1980 | DRM_ERROR("pin & fence failed\n"); | ||
1979 | return ret; | 1981 | return ret; |
1980 | } | 1982 | } |
1981 | 1983 | ||
@@ -2004,6 +2006,7 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y, | |||
2004 | if (ret) { | 2006 | if (ret) { |
2005 | i915_gem_object_unpin(to_intel_framebuffer(crtc->fb)->obj); | 2007 | i915_gem_object_unpin(to_intel_framebuffer(crtc->fb)->obj); |
2006 | mutex_unlock(&dev->struct_mutex); | 2008 | mutex_unlock(&dev->struct_mutex); |
2009 | DRM_ERROR("failed to update base address\n"); | ||
2007 | return ret; | 2010 | return ret; |
2008 | } | 2011 | } |
2009 | 2012 | ||