Why is nouveau using a separate swap storage?

Christian König christian.koenig at amd.com
Thu Sep 17 11:03:06 UTC 2020


Am 17.09.20 um 12:51 schrieb Ben Skeggs:
> On Thu, 17 Sep 2020 at 20:06, Christian König
> <ckoenig.leichtzumerken at gmail.com> wrote:
>> Hi guys,
>>
>> just another TTM feature which is only used by nouveau.
>>
>> We have this bo->bo.persistent_swap_storage pointer which is only set by
>> nouveau to the GEM filp and used when a BO is swapped to a shmem file.
>>
>> As far as I can see this doesn't make any sense at all? What is the
>> background here.
> No specific reason I can remember, likely cargo-cult from very very
> early versions of TTM/GEM stuff.

Ok, going to send something out to drop this then.

Thanks,
Christian.

>
> Ben.
>
>> Thanks,
>> Christian.
>> _______________________________________________
>> dri-devel mailing list
>> dri-devel at lists.freedesktop.org
>> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fdri-devel&data=02%7C01%7Cchristian.koenig%40amd.com%7C70ce7559f13c4bf181fb08d85af7b85b%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637359367286020632&sdata=ncJ2%2FkCY7DuGb119M%2BR%2BLtSUA1qjEK5nhGVjKjEd6jQ%3D&reserved=0



More information about the dri-devel mailing list