Fw: add find_bo_from_cpu_mapping interface

Christian König deathsimple at vodafone.de
Thu Dec 3 11:01:41 PST 2015


Well a bit background would probably help here.

This is useful because certain applications are hopelessly braindead and 
pass a CPU which they got from the driver in the first place and which 
is a pointer to a memory mapped BO back to the driver.

With this IOCTL the driver is capable to handle this case gracefully and 
use the original BO for example as replacement for an userptr.

Regards,
Christian.

On 03.12.2015 14:02, Zhou, David(ChunMing) wrote:
>
>
> UMD can find the bo by the cpu address of BO. Any comments?
>
>
> Regards,
>
> David Zhou
>
>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151203/948f8bfd/attachment-0001.html>


More information about the dri-devel mailing list