Skip to content
Commit 9fa1d753 authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 3f81e134
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment