• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (c) 2020 Simon Ser
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5include::{generated}/meta/{refprefix}VK_EXT_physical_device_drm.adoc[]
6
7=== Other Extension Metadata
8
9*Last Modified Date*::
10    2021-06-09
11*IP Status*::
12    No known IP claims.
13*Contributors*::
14  - Simon Ser
15
16=== Description
17
18This extension provides new facilities to query DRM properties for physical
19devices, enabling users to match Vulkan physical devices with DRM nodes on
20Linux.
21
22Its functionality closely overlaps with
23`EGL_EXT_device_drm`^<<VK_EXT_physical_device_drm-fn1,1>>^.
24Unlike the EGL extension, this extension does not expose a string containing
25the name of the device file and instead exposes device minor numbers.
26
27DRM defines multiple device node types.
28Each physical device may have one primary node and one render node
29associated.
30Physical devices may have no primary node (e.g. if the device does not have
31a display subsystem), may have no render node (e.g. if it is a software
32rendering engine), or may have neither (e.g. if it is a software rendering
33engine without a display subsystem).
34
35To query DRM properties for a physical device, chain
36slink:VkPhysicalDeviceDrmPropertiesEXT to slink:VkPhysicalDeviceProperties2.
37
38include::{generated}/interfaces/VK_EXT_physical_device_drm.adoc[]
39
40=== References
41
42  . [[VK_EXT_physical_device_drm-fn1]]
43    https://registry.khronos.org/EGL/extensions/EXT/EGL_EXT_device_drm.txt[`EGL_EXT_device_drm`]
44
45=== Version History
46
47  * Revision 1, 2021-06-09
48  ** First stable revision
49