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:
ebd4c6f
)
vmwgfx: Remove dmabuf check in present ioctl
author
Jakob Bornecrantz
<jakob@vmware.com>
Mon, 28 Nov 2011 12:19:09 +0000
(13:19 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 19 Dec 2011 14:06:01 +0000
(14:06 +0000)
Doesn't protect any error code and only gets in the way of debugging.
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
index 1edb63ec3f348d56bd73ea54a8fa7a7214a298c9..66917c6c3813f6ff6cee579786864421c9dda0d4 100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
@@
-172,13
+172,7
@@
int vmw_present_ioctl(struct drm_device *dev, void *data,
ret = -EINVAL;
goto out_no_fb;
}
-
vfb = vmw_framebuffer_to_vfb(obj_to_fb(obj));
- if (!vfb->dmabuf) {
- DRM_ERROR("Framebuffer not dmabuf backed.\n");
- ret = -EINVAL;
- goto out_no_fb;
- }
ret = ttm_read_lock(&vmaster->lock, true);
if (unlikely(ret != 0))