acquireDrmDisplayEXT :: MonadIO io=> PhysicalDevicephysicalDeviceThe physical device the display is on.physicalDevicemust be a valid PhysicalDevice handle->"drmFd"
::: Int32drmFdDRM primary file descriptor.-> DisplayKHRdisplayThe display the caller wishes Vulkan to control.displaymust be a valid DisplayKHR handledisplaymust have been created, allocated, or retrieved fromphysicalDevice-> io ()
vkAcquireDrmDisplayEXT - Acquire access to a VkDisplayKHR using DRM
Description
All permissions necessary to control the display are granted to the
Vulkan instance associated with the provided physicalDevice until the
display is either released or the connector is unplugged. The provided
drmFd must correspond to the one owned by the physicalDevice. If
not, the error code ERROR_UNKNOWN must be
returned. The DRM FD must have DRM master permissions. If any error is
encountered during the acquisition of the display, the call must
return the error code
ERROR_INITIALIZATION_FAILED.
The provided DRM fd should not be closed before the display is released, attempting to do it may result in undefined behavior.