projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06fba6d
)
drm/ttm: remove failed ttm binding error printout
author
Thomas Hellstrom
<thellstrom@vmware.com>
Fri, 29 Oct 2010 08:46:49 +0000
(10:46 +0200)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 9 Nov 2010 03:33:57 +0000
(13:33 +1000)
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>
drivers/gpu/drm/ttm/ttm_tt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/ttm/ttm_tt.c
b/drivers/gpu/drm/ttm/ttm_tt.c
index a7bab87a548bd25de465d5fff45436a177346e33..af789dc869b94e997621ff615c184383c857377c 100644
(file)
--- 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;