FW: [PATCH v2 2/2] drm/amdgpu: Move to gtt before cpu accesses dma buf.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2017-12-14 09:07 AM, Christian König wrote:
> Please CC Michel as well,

No need, I read the lists (just sometimes get a little swamped and take
time to catch up).


> he originally commented that we should try to solve this in the DDX instead.

I don't think a DDX driver is even involved in the scenario Sam's
working on.

Do you mean that the BO should be created in GTT in the first place if
possible? I did suggest that before, but I'm not sure it's feasible in
this scenario.


> And BTW: Why don't we just do the migration during the mmap call?

At mmap time, we don't know when the BO will actually be accessed by the
CPU (or indeed whether at all). If we do the migration at that point,
there's no guarantee that the BO will still be in GTT when it's accessed
by the CPU.


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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux