summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-02-28 11:11:45 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-03-13 13:53:27 +0300
commit9fa1d7537242bd580ffa99c4725a0407096aad26 (patch)
treea6faee3b35082142ba261bbe071f93a3ef762691 /include
parent3f81e1340706e9a7f854808e2f580c3106805d0c (diff)
downloadlinux-9fa1d7537242bd580ffa99c4725a0407096aad26.tar.xz
drm/omap: fix dmabuf mmap for dma_alloc'ed buffers
omap_gem_dmabuf_mmap() returns an error (with a WARN) when called for a buffer which is allocated with dma_alloc_*(). This prevents dmabuf mmap from working on SoCs without DMM, e.g. AM4 and OMAP3. I could not find any reason for omap_gem_dmabuf_mmap() rejecting such buffers, and just removing the if() fixes the limitation. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions