diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2010-10-29 10:46:49 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-11-09 13:33:57 +1000 |
commit | 7dcebb52f6e0cd5150660a4c37f27cf4c0f1b9b9 (patch) | |
tree | 237693d0d7876b77707fc09fe98997871d01c2b2 /drivers/gpu/drm/ttm | |
parent | 06fba6d4168069d818593e2fcc2d4bd0f888e97b (diff) |
drm/ttm: remove failed ttm binding error printout
The driver (for example vmwgfx) may want to silently deal with the
error itself.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/ttm')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_tt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c index a7bab87a548..af789dc869b 100644 --- a/drivers/gpu/drm/ttm/ttm_tt.c +++ b/drivers/gpu/drm/ttm/ttm_tt.c @@ -440,10 +440,8 @@ int ttm_tt_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) return ret; ret = be->func->bind(be, bo_mem); - if (ret) { - printk(KERN_ERR TTM_PFX "Couldn't bind backend.\n"); + if (unlikely(ret != 0)) return ret; - } ttm->state = tt_bound; |