Skip to content
Snippets Groups Projects
Commit 4856586a authored by Thomas Wagner's avatar Thomas Wagner Committed by Marge Bot
Browse files

util: use anonymous file for memory fd creation


The original implementation in os_memory_fd.c always uses memfds.
Replace this by using the already existing os_create_anonymous_file in
order to support older systems or systems without memfd.

Fixes: 1166ee9c ("gallium: add utility and interface for memory fd allocations")

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Part-of: <mesa/mesa!13331>
parent 49d290bc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment