<div dir="ltr">
<p class="MsoNormal">Hi All,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">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.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style> </span></p>
<p class="MsoNormal">if (map->size < vma->vm_end - vma->vm_start) {</p>
<p class="MsoNormal"><span style> </span>ret
= -EINVAL;</p>
<p class="MsoNormal"><span style> </span>goto
out_unlock;</p>
<p class="MsoNormal"><span style> </span>}</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Here is one of the failing params</p>
<p class="MsoNormal">vma->vm_pgoff = 170254</p>
<p class="MsoNormal">map->size:73728</p>
<p class="MsoNormal"><span style> </span>vma->vm_end = 1776594944</p>
<p class="MsoNormal"><span style> </span>vma->vm_start:1776463872</p>
<p class="MsoNormal"><span style> </span>(vm_end - vm_start):131072 </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Could anyone please suggest how to debug this or Is this a
known bug?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><a name="_MailAutoSig"><span style>Regards,</span></a></p>
<p class="MsoNormal"><span style><span style>Vikas</span></span></p>
</div>