aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-10-30 17:08:30 -0400
committerDave Airlie <airlied@redhat.com>2010-11-08 22:37:15 -0500
commitfce7d61be01ad7606056608be08fef15b70eeb84 (patch)
tree362887ff2bd2b0e034b882345886cbdbedfa4e5c /drivers/gpu/drm/i915
parent85b54e0c194fe216eb70cbce44365cef42cdc33e (diff)
drivers/gpu/drm: Update WARN uses
Coalesce long formats. Align arguments. Add missing newlines. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index eba9b1615228..ef188e391406 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -4065,8 +4065,7 @@ i915_gem_object_pin(struct drm_gem_object *obj, uint32_t alignment)
4065 alignment = i915_gem_get_gtt_alignment(obj); 4065 alignment = i915_gem_get_gtt_alignment(obj);
4066 if (obj_priv->gtt_offset & (alignment - 1)) { 4066 if (obj_priv->gtt_offset & (alignment - 1)) {
4067 WARN(obj_priv->pin_count, 4067 WARN(obj_priv->pin_count,
4068 "bo is already pinned with incorrect alignment:" 4068 "bo is already pinned with incorrect alignment: offset=%x, req.alignment=%x\n",
4069 " offset=%x, req.alignment=%x\n",
4070 obj_priv->gtt_offset, alignment); 4069 obj_priv->gtt_offset, alignment);
4071 ret = i915_gem_object_unbind(obj); 4070 ret = i915_gem_object_unbind(obj);
4072 if (ret) 4071 if (ret)