drm_gem_mmap failing!

Vikas Patil vikasmpatil at gmail.com
Mon Oct 21 14:34:05 CEST 2013


Hi All,



I am running the webkit on custom linux based on 3.4.25 kernel on omap5.
However it is failing to map some memory using drm_gem_mmap() at following
code.





if (map->size < vma->vm_end - vma->vm_start) {

                                ret = -EINVAL;

                                goto out_unlock;

                }



Here is one of the failing params

vma->vm_pgoff = 170254

map->size:73728

 vma->vm_end = 1776594944

 vma->vm_start:1776463872

 (vm_end - vm_start):131072



Could anyone please suggest how to debug this or Is this a known bug?



Regards,

Vikas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131021/4112785d/attachment.html>


More information about the dri-devel mailing list