Understood -- I thought you might not want to take this patch, but I went ahead and sent it out because Christian requested it, and it seems like he doesn't think VRAM bos should ever evict back to VRAM at all?No, I've requested reverting the patch for now because it causes an obviously and rather severe problem. If you guys can quickly find how to fix it feel free to use that instead. That for example could work as well, but see below. Actually I'm pretty sure that it isn't desirable. See the evict function doesn't know if we try to evict BOs because we need CPU accessible VRAM or if we just run out of VRAM. This code only makes sense when we need to move different BOs into the CPU accessible part round robin because they are accessed by the CPU, but then it is actually better to move them to GTT sooner or later. Regards, Christian. Am 23.03.2017 um 16:31 schrieb Zachary Michaels:
|
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel