Enumerations

enum class Platform
Name Value
kSkylake 0
kKabyLake 1
kTigerLake 2
kTestDevice 3

Defined at line 14 of file ../../src/graphics/display/drivers/intel-display/hardware-common.h

enum class PlaneControlAlphaMode
Name Value
kAlphaIgnored 0
kInvalid 1
kAlphaPreMultiplied 2
kAlphaHardwareMultiply 3

Possible values for the `alpha_mode*` fields in plane control registers.

Defined at line 139 of file ../../src/graphics/display/drivers/intel-display/registers-pipe.h

enum class PortLane
Name Value Comments
kAux 0x3

DisplayPort AUX channel. DSI Data lane 0.

kAll 0x6

Virtual pair that routes writes to all non-AUX lanes.

kMainLinkLane0 0x8

1st DisplayPort main link lane. DSI Data lane 1.

kMainLinkLane1 0x9

2nd DisplayPort main link lane. DSI Data lane 2.

kMainLinkLane2 0xa

3rd DisplayPort main link lane. DSI Clock lane.

kMainLinkLane3 0xb

4th DisplayPort main link lane. DSI Data lane 3.

Identifies a pair of pins used in voltage differential transmission.

The lane usage is documented in the "Mode Set" > "Sequences for MIPI DSI" >

"DSI Transcoder Enable Sequence" section of the display engine PRMs.

Tiger Lake: IHD-OS-TGL-Vol 12-1.22-Rev2.0 page 127

Ice Lake: IHD-OS-ICLLP-Vol 12-1.22-Rev2.0 page 129

Defined at line 620 of file ../../src/graphics/display/drivers/intel-display/registers-ddi-phy-tiger-lake.h

enum class DisplayPortMsaBitsPerComponent
Name Value
k6Bpc 0
k8Bpc 1
k10Bpc 2
k12Bpc 3
k16Bpc 4

Documented values for the DisplayPort MSA MISC0 field's bits 7:5.

The values come from the VESA DisplayPort Standard Version 2.0, Table 2-96

"MSA MISC1 and MISC0 Fields for Pixel Encoding/Colorimetry Format Indication"

at page 158. The table belongs to Section 2.2.4 "MSA Data Transport".

The encoding here is correct for all modes except for RAW, which uses a

different encoding.

TODO(https://fxbug.dev/42056427): This covers a general DisplayPort concept, so it

belongs in a general-purpose DisplayPort support library.

Defined at line 799 of file ../../src/graphics/display/drivers/intel-display/registers-transcoder.h

enum class DisplayPortMsaColorimetry
Name Value Comments
kRgbUnspecifiedLegacy 0b0'0'00 --
kCtaSrgb 0b0'1'00 --
kRgbWideGamutFixed 0b0'0'11 --
kRgbWideGamutFloating 0b1'0'00 --
kYCbCr422Bt601 0b0'1'01 --
kYCbCr422Bt709 0b1'1'01 --
kYCbCr444Bt601 0b0'1'10 --
kYCbCr444Bt709 0b1'1'10 --
kAdobeRgb 0b1'1'00 --
kDciP3 0b0'1'11 --
kVcpColorProfile 0b0'1'11

The color profile will be sent as a MCCS (VESA Monitor Control Command)
VCP (Virtual Control Panel).

Documented values for the DisplayPort MSA MISC0 field's bits 4:1.

The values come from the VESA DisplayPort Standard Version 2.0, Table 2-96

"MSA MISC1 and MISC0 Fields for Pixel Encoding/Colorimetry Format Indication"

at page 158. The table belongs to Section 2.2.4 "MSA Data Transport".

TODO(https://fxbug.dev/42056427): This covers a general DisplayPort concept, so it

belongs in a general-purpose DisplayPort support library.

Defined at line 815 of file ../../src/graphics/display/drivers/intel-display/registers-transcoder.h

Records

Functions

  • void PrintRegisters (std::vector<std::string> * dump_out, magma::RegisterIo * io)

    Defined at line 15 of file ../../src/graphics/drivers/msd-vsi-vip/src/registers.cc

  • template <typename T>
    size_t GetSize ()

    Defined at line 37 of file ../../src/devices/registers/drivers/registers/registers.h

  • template <typename T>
    void WriteHipIndex (T * reg_io, intel_display::DdiId ddi_id, uint32_t hip_index)

    Defined at line 736 of file ../../src/graphics/display/drivers/intel-display/registers-typec.h