diff options
author | Dave Airlie <airlied@redhat.com> | 2017-03-15 11:30:14 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-03-15 11:30:14 +1000 |
commit | 6ed511757702abaa1b9925fd87e049bae3489f05 (patch) | |
tree | 6669e42b83c4f3169e3ca89699b3389dca2b2022 /drivers/gpu | |
parent | e7bb40565c43e23956b4aada28008a4eb0628410 (diff) | |
parent | 337ba7fbf0fbc12242359c4af114878618b90951 (diff) | |
download | linux-6ed511757702abaa1b9925fd87e049bae3489f05.tar.bz2 |
Merge tag 'omapdrm-4.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-fixes
omapdrm fixes for v4.11
- Fix types in omapdrm uapi header to avoid userspace compilation errors
- Fix dmabuf mmap for dma_alloc'ed buffers
* tag 'omapdrm-4.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux:
uapi: fix drm/omap_drm.h userspace compilation errors
drm/omap: fix dmabuf mmap for dma_alloc'ed buffers
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c index af267c35d813..ee5883f59be5 100644 --- a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c +++ b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c @@ -147,9 +147,6 @@ static int omap_gem_dmabuf_mmap(struct dma_buf *buffer, struct drm_gem_object *obj = buffer->priv; int ret = 0; - if (WARN_ON(!obj->filp)) - return -EINVAL; - ret = drm_gem_mmap_obj(obj, omap_gem_mmap_size(obj), vma); if (ret < 0) return ret; |