a quetion about buffer migration for user mapped bo.
258454946
258454946 at qq.com
Mon Apr 5 16:01:42 UTC 2021
Hi Guys,
I am a newbee of gfx development. Recently, I am researching amdgpu open source driver, and encounter a problem, but do not find the answer.
We know the user maybe map a gem backing buffer for reading/writing and hold the mapping for a long term. while, kernel driver will also moves the user mapped bo to other memory region. vram ->gtt, gtt->vram, even it may be swaped out under OOM case.
So, my question is how driver prevents kernel ttm from moving the user mapped bo while user is accessing it?
Thanks for your attention!
Lizhi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20210406/e49bc8d8/attachment-0001.htm>
More information about the amd-gfx
mailing list