projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee06bee
)
nvk: set the device fd
author
Dave Airlie
<airlied@redhat.com>
Wed, 2 Nov 2022 06:47:52 +0000
(16:47 +1000)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:03 +0000
(21:32 +0000)
This is needed later for syncobj support
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_device.c
patch
|
blob
|
history
diff --git
a/src/nouveau/vulkan/nvk_device.c
b/src/nouveau/vulkan/nvk_device.c
index
c6c7ebd
..
84bfa07
100644
(file)
--- a/
src/nouveau/vulkan/nvk_device.c
+++ b/
src/nouveau/vulkan/nvk_device.c
@@
-139,6
+139,7
@@
nvk_CreateDevice(VkPhysicalDevice physicalDevice,
if (result != VK_SUCCESS)
goto fail_alloc;
+ vk_device_set_drm_fd(&dev->vk, pdev->dev->fd);
dev->vk.command_buffer_ops = &nvk_cmd_buffer_ops;
dev->pdev = pdev;