[Mesa-dev] [PATCH 1/3] radv: Add VK_KHR_display, VK_KEITHP_kms_display and VK_EXT_direct_mode_display [v2]

Keith Packard keithp at keithp.com
Wed Aug 2 21:59:50 UTC 2017


Emil Velikov <emil.l.velikov at gmail.com> writes:

> Is the VK_KEITHP_kms_display spec available somewhere?

Here's a rough version:

VK_KEITHP_kms_display
=====================

**Name String**
	VK_KEITHP_kms_display

**Extension Type**
	Instance Extension

**Registered Extension Number**
	TBD

**Status**
	Draft.

**Last Modified Date**
	2017-08-02

**Revision**
	1

**IP Status**
	No known IP claims.

**Dependencies**
	This extension is written against version 1.0 of the Vulkan
	API.

	Requires VK_KHR_display

**Contributors**
	Keith Packard, keithp.com

	Dave Airlie, Redhat

	Pierre-Loup Griffais, Valve

**Contacts**
	Keith Packard (keithp 'at' keithp.com)

This extension provides the VkKmsDisplayInfoKEITHP struct that can be
included in the pNext chain at vkCreateInstance time. The new struct
contains a file descriptor that the Vulkan driver uses in place of the
one it would normal open to communicate with the underlying hardware.
The provided file descriptor must support rendering commands. If it
also supports display configuration, then the KHR_display extension
can be used for that.

New Enum Constants
------------------

 * Extending VkStructureType:

   - VK_STRUCTURE_TYPE_KMS_DISPLAY_INFO_KEITHP

New Structures
--------------

 * VkKmsDisplayInfoKEITHP


.. compound::

	The VkKmsDisplayInfoKEITHP structure is defined as::

		typedef struct VkKmsDisplayInfoKEITHP {
			VkStructureType         sType;
			const void*             pNext;
			int                     fd;
		} VkKmsDisplayInfoKEITHP;

	..

	* sType is the type of this structure and must be VK_STRUCTURE_TYPE_KMS_DISPLAY_INFO_KEITHP
	* pNext is NULL or a pointer to another structure in the pCreateInfo
	  chain passed to vkCreateInstance.
	* fd is the file descriptor for the target graphics device.


-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170802/a91af822/attachment.sig>


More information about the mesa-dev mailing list