diff options
author | Kyle McMartin <kyle@redhat.com> | 2009-02-28 15:01:16 -0500 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-03-10 16:11:11 -0400 |
commit | 0fce81e3ccd093f4826de40fbd27fac9632f6170 (patch) | |
tree | 4e86260472769a758fd39cba4c6daf881079978d | |
parent | b70d11da61d751ad968c6f686d83ac1b0ae41466 (diff) |
i915: add newline to i915_gem_object_pin failure msg
Prevents formatting nasty as below:
[drm:i915_gem_object_pin] *ERROR* Failure to bind: -12<3>[drm:i915_gem_evict_something] *ERROR* inactive empty 1 request empty 1 flushing empty 1
Signed-off-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 7bdcc752f139..c94069b28a47 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c | |||
@@ -2727,7 +2727,7 @@ i915_gem_object_pin(struct drm_gem_object *obj, uint32_t alignment) | |||
2727 | ret = i915_gem_object_bind_to_gtt(obj, alignment); | 2727 | ret = i915_gem_object_bind_to_gtt(obj, alignment); |
2728 | if (ret != 0) { | 2728 | if (ret != 0) { |
2729 | if (ret != -EBUSY && ret != -ERESTARTSYS) | 2729 | if (ret != -EBUSY && ret != -ERESTARTSYS) |
2730 | DRM_ERROR("Failure to bind: %d", ret); | 2730 | DRM_ERROR("Failure to bind: %d\n", ret); |
2731 | return ret; | 2731 | return ret; |
2732 | } | 2732 | } |
2733 | /* | 2733 | /* |