Am 04.08.2016 um 08:05 schrieb zhoucm1:
On 2016年08月03日 21:39, Christian König wrote:
Doubling all the page table updates clearly doesn't sound like a good
idea to me.
Could you tell me why it isn't a good idea?
I though the overhead is the least, and we don't need to sync between
bo and its shadow, aren't we?
Yeah, but you also double the CPU overhead generating the update
commands. And for large updates you need to backup the whole page table
BO anyway, so the copy overhead between system memory and VRAM shouldn't
matter so much.
I would rather go into the direction that we switch shadow and real BO
like we discussed previously.
This way you would made all updates on the shadow first and then copy
all changes page tables to their VRAM location after scheduling all the
updates.
Regards,
Christian.
Regards,
David Zhou
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx