Skip to content

Latest commit

 

History

History
96 lines (68 loc) · 3.62 KB

ns-dispmprt-dxgk_dsi_packet.md

File metadata and controls

96 lines (68 loc) · 3.62 KB
UID title ms.date targetos description tech.root req.construct-type req.ddi-compliance req.dll req.header req.include-header req.kmdf-ver req.lib req.max-support req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.typenames req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NS:dispmprt._DXGK_DSI_PACKET
DXGK_DSI_PACKET
03/24/2020
Windows
An OEM panel driver uses DXGK_DSI_PACKET structures to transmit Digital Serial Interface (DSI) packets to the bus driver (graphics kernel).
display
structure
dispmprt.h
Windows 10, version 2004
DXGK_DSI_PACKET, *PDXGK_DSI_PACKET
apiref
HeaderDef
dispmprt.h
_DXGK_DSI_PACKET
PDXGK_DSI_PACKET
DXGK_DSI_PACKET
_DXGK_DSI_PACKET
dispmprt/_DXGK_DSI_PACKET
PDXGK_DSI_PACKET
dispmprt/PDXGK_DSI_PACKET
DXGK_DSI_PACKET
dispmprt/DXGK_DSI_PACKET
c++

DXGK_DSI_PACKET structure

-description

An OEM panel driver uses DXGK_DSI_PACKET structures to transmit Digital Serial Interface (DSI) packets to the bus driver (graphics kernel).

-struct-fields

-field DataId

8-bit value, where the lower 6 bits form the DataType and the higher 2 bits are VirtualChannel.

-field DataType

Type of data being transmitted, which implicitly defines the transaction as a read or a write as well as the number of parameters and whether the transaction is formed as a short or long packet.

-field VirtualChannel

Indicates the sub-unit of the peripheral being addressed. Can be one of 0, 1, 2, or 3.

-field Data0

8-bit value used in short packets to transfer parameters. Short packets have 0, 1, or 2 bytes of parameters, where the number and meaning is determined by the DataType.

-field Data1

8-bit value used in short packets to transfer parameters. Short packets have 0, 1, or 2 bytes of parameters, where the number and meaning is determined by the DataType.

-field LongWriteWordCount

Word count, in bytes, of the Payload for a write long packet.

-field EccFiller

An 8-bit field which occupies the space that the Error Correction Code (ECC) will take in the sequence of transmitted bytes. The fourth byte of the transmission is always an ECC and for long writes, the payload directly follows the ECC so this filler allows a long write command to be constructed in memory as a complete command. It is the responsibility of the graphics driver to overwrite the filler value with the correct ECC value prior to transmission.

-field Payload

Array of 8 bytes which allows for sequences of small writes to be sent as an array of packets in the same transmission but limits the size of the data. The final packet in a transmission can append further data in memory directly after the last byte of the embedded Payload. Read packets are only permitted as the last one in a transmission but may be in the form of a long or short packet and either way, the read data should be placed in the Payload buffer, with extra space in the buffer to accommodate longer responses.

-remarks

The panel driver calls IOCTL_MIPI_DSI_TRANSMISSION with an array of DSI_PACKET structures in a DXGK_DSI_TRANSMISSION structure.

-see-also

**IOCTL_MIPI_DSI_QUERY_CAPS

IOCTL_MIPI_DSI_RESET

IOCTL_MIPI_DSI_TRANSMISSION