Skip to content
Snippets Groups Projects
Commit 29fdc68d authored by Dave Airlie's avatar Dave Airlie
Browse files

nvk: set the device fd

This is needed later for syncobj support
parent a3535b61
No related branches found
No related tags found
No related merge requests found
...@@ -133,6 +133,7 @@ nvk_CreateDevice(VkPhysicalDevice physicalDevice, ...@@ -133,6 +133,7 @@ nvk_CreateDevice(VkPhysicalDevice physicalDevice,
if (result != VK_SUCCESS) if (result != VK_SUCCESS)
goto fail_alloc; goto fail_alloc;
vk_device_set_drm_fd(&device->vk, physical_device->dev->fd);
device->vk.command_buffer_ops = &nvk_cmd_buffer_ops; device->vk.command_buffer_ops = &nvk_cmd_buffer_ops;
int ret = nouveau_ws_context_create(physical_device->dev, &device->ctx); int ret = nouveau_ws_context_create(physical_device->dev, &device->ctx);
......
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