[PATCH 1/2] drm/amdgpu: return bo itself if userptr is cpu addr of bo (v3)

Christian König christian.koenig at amd.com
Wed Aug 1 06:32:50 UTC 2018


Am 01.08.2018 um 00:07 schrieb Marek Olšák:
> Can this be implemented as a wrapper on top of libdrm? So that the
> tree (or hash table) isn't created for UMDs that don't need it.

No, the problem is that an application gets a CPU pointer from one API 
and tries to import that pointer into another one.

In other words we need to implement this independent of the UMD who 
mapped the BO.

Christian.

>
> Marek
>


More information about the amd-gfx mailing list