[PATCH 14/25] drm/amdkfd: Populate DRM render device minor

Michel Dänzer michel at daenzer.net
Wed Feb 14 08:50:22 UTC 2018


On 2018-02-13 08:18 PM, Felix Kuehling wrote:
> On 2018-02-13 01:15 PM, Christian König wrote:
>> Am 13.02.2018 um 18:18 schrieb Felix Kuehling:
>>
>>> I don't see how you can have separate TTM objects referring to the
>>> same memory.
>>
>> Well that is trivial, we do this all the time with prime and I+A laptops.
> 
> As I understand it, you use DMABuf to export/import buffers on multiple
> devices. I believe all devices share a single amdgpu_bo, which contains
> the ttm_buffer_object.

The dma-buf exporter and importer can be different drivers, so this is
not possible.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list