#include <IOKit/graphics/IOGraphicsTypes.h>
IOKit/graphics/IOGraphicsTypes.h Kernel.framework 162 macros · 60 enums · 32 typedefs · 17 structs · 1 union
#define IOGRAPHICSTYPES_REV 76 typedef UInt32 IODisplayVendorID typedef UInt32 IODisplayProductID typedef SInt32 IODisplayModeID underlying type int
kIODisplayModeIDBootProgrammable -5 This is the ID given to a programmable timing used at boot time kIODisplayModeIDReservedBase -2147483648 Lowest (unsigned) DisplayModeID reserved by Apple
underlying type unsigned int
#define IO1BitIndexedPixels "P" #define IO2BitIndexedPixels "PP" #define IO4BitIndexedPixels "PPPP" #define IO8BitIndexedPixels "PPPPPPPP" #define IO16BitDirectPixels "-RRRRRGGGGGBBBBB" #define IO32BitDirectPixels "--------RRRRRRRRGGGGGGGGBBBBBBBB" #define kIO30BitDirectPixels "--RRRRRRRRRRGGGGGGGGGGBBBBBBBBBB" #define kIO64BitDirectPixels "-16R16G16B16" #define kIO16BitFloatPixels "-16FR16FG16FB16" #define kIO32BitFloatPixels "-32FR32FG32FB32" #define IOYUV422Pixels "Y4U2V2" #define IO8BitOverlayPixels "O8" page flipping
#define IOPagedPixels "Page1" #define IO_SampleTypeAlpha 'A' #define IO_SampleTypeSkip '-' Info about a pixel format
underlying type unsigned int
kIOCLUTPixels 0 kIOFixedCLUTPixels 1 kIORGBDirectPixels 2 kIOMonoDirectPixels 3 kIOMonoInverseDirectPixels 4 kIORGBSignedDirectPixels 5 kIORGBSignedFloatingPointPixels 6
ID for industry standard display timings
typedef UInt32 IOAppleTimingID flags
underlying type unsigned int
kDisplayModeSafetyFlags 7 kDisplayModeAlwaysShowFlag 8 kDisplayModeNeverShowFlag 128 kDisplayModeNotResizeFlag 16 kDisplayModeRequiresPanFlag 32 kDisplayModeInterlacedFlag 64 kDisplayModeSimulscanFlag 256 kDisplayModeBuiltInFlag 1024 kDisplayModeNotPresetFlag 512 kDisplayModeStretchedFlag 2048 kDisplayModeNotGraphicsQualityFlag 4096 kDisplayModeValidateAgainstDisplay 8192 kDisplayModeTelevisionFlag 1048576 kDisplayModeValidForMirroringFlag 2097152 kDisplayModeAcceleratorBackedFlag 4194304 kDisplayModeValidForHiResFlag 8388608 kDisplayModeValidForAirPlayFlag 16777216 kDisplayModeNativeFlag 33554432
underlying type unsigned int
kDisplayModeValidFlag 1 kDisplayModeSafeFlag 2 kDisplayModeDefaultFlag 4
flags
underlying type unsigned int
kFramebufferSupportsCopybackCache 65536 kFramebufferSupportsWritethruCache 131072 kFramebufferSupportsGammaCorrection 262144 kFramebufferDisableAltivecAccess 524288
Aperture is an index into supported pixel formats for a mode & depth
typedef IOIndex IOPixelAperture underlying type unsigned int
IOFBSetGamma Sync Types
#define kIOFBSetGammaSyncNotSpecified -1 #define kIOFBSetGammaSyncNoSync 0 #define kIOFBSetGammaSyncVerticalBlankSync 1 typedef UInt16 IOColorComponent typedef struct IOColorEntry IOColorEntry options (masks)
underlying type unsigned int
kSetCLUTByValue 1 else at index kSetCLUTImmediately 2 else at VBL kSetCLUTWithLuminance 4 else RGB
underlying type unsigned int
kIOPowerStateAttribute 1886876275 kIOPowerAttribute 1886353266 kIODriverPowerAttribute 1685090167 kIOHardwareCursorAttribute 1668445042 kIOMirrorAttribute 1835627122 kIOMirrorDefaultAttribute 1836213350 kIOCapturedAttribute 1667330148 kIOCursorControlAttribute 1668445027 kIOSystemPowerAttribute 1936750450 kIOWindowServerActiveAttribute 2004054646 kIOVRAMSaveAttribute 1987212150 kIODeferCLUTSetAttribute 1986227316 kIOClamshellStateAttribute 1668047213 kIOFBDisplayPortTrainingAttribute 1685091425 kIOFBDisplayState 1685288052 kIOFBVariableRefreshRate 1987211839 kIOFBLimitHDCPAttribute 1751409520 kIOFBLimitHDCPStateAttribute 1934115907 kIOFBStop 1937010544 kIOFBRedGammaScaleAttribute 1735617650 as of IOGRAPHICSTYPES_REV 54 kIOFBGreenGammaScaleAttribute 1735617639 as of IOGRAPHICSTYPES_REV 54 kIOFBBlueGammaScaleAttribute 1735617634 as of IOGRAPHICSTYPES_REV 54 kIOFBHDRMetaDataAttribute 1751413357 as of IOGRAPHICSTYPES_REV 64 kIOBuiltinPanelPowerAttribute 1886284912 as of IOGRAPHICSTYPES_REV 71
underlying type unsigned int
kIOFBHDCPLimit_AllowAll 0 kIOFBHDCPLimit_NoHDCP1x 1 kIOFBHDCPLimit_NoHDCP20Type0 2 kIOFBHDCPLimit_NoHDCP20Type1 4 Default case
<rdar://problem/29184178> IOGraphics: Implement display state attribute for deteriming display state post wake
kIOFBDisplayState
underlying type unsigned int
kIOFBDisplayState_AlreadyActive 1 kIOFBDisplayState_RestoredProfile 2 kIOFBDisplayState_PipelineBlack 4 kIOFBDisplayState_Mask 7
values for kIOWindowServerActiveAttribute
underlying type unsigned int
kIOWSAA_Unaccelerated 0 States CPU rendering/access only, no GPU access kIOWSAA_Accelerated 1 GPU rendering/access only, no CPU mappings kIOWSAA_From_Accelerated 2 Transitioning from GPU to CPU kIOWSAA_To_Accelerated 3 Transitioning from CPU to GPU kIOWSAA_Sleep 4 kIOWSAA_Hibernate 4 kIOWSAA_DriverOpen 5 Reserved kIOWSAA_StateMask 15 kIOWSAA_Transactional 16 Bits If this bit is present, transition is to/from transactional operation model. kIOWSAA_DeferStart 256 These attributes are internal kIOWSAA_DeferEnd 512 kIOWSAA_NonConsoleDevice 1024 If present, associated FB is non-console. See ERS for further details. kIOWSAA_Reserved 4026531840
IOFBNS prefix is IOFramebuffer notifyServer
underlying type unsigned int
kIOFBNS_Rendezvous 2271560481 Note sign-bit is 1 here. kIOFBNS_MessageMask 15 kIOFBNS_Sleep 0 kIOFBNS_Wake 1 kIOFBNS_Doze 2 kIOFBNS_Dim 3 <rdar://problem/39199290> IOGraphics: Add 10 second timeout to IODW DIM
policy.
Enum of Bitfields for Windows server notification msgh_id, which is a
integer_t signed type. kIOFBNS_UnDim 4 kIOFBNS_DisplayStateMask 3840 For Wake messages this field contains the current kIOFBDisplayState as
returned by attribute 'kIOFBDisplayState' kIOFBNS_DisplayStateShift 8 kIOFBNS_GenerationMask 2147418112 Message Generation Count, top-bit i.e. sign-bit is always 0 for normal
messages, see kIOFBNS_Rendezvous is the only exception and it doesn't
encode a generation count. kIOFBNS_GenerationShift 16
values for kIOMirrorAttribute
underlying type unsigned int
kIOMirrorIsPrimary 2147483648 kIOMirrorHWClipped 1073741824 kIOMirrorIsMirrored 536870912
values for kIOMirrorDefaultAttribute
underlying type unsigned int
kIOMirrorDefault 1 kIOMirrorForced 2
underlying type unsigned int
kIODetailedTimingValid 2147483648 IOTimingInformation flags kIOScalingInfoValid 1073741824
underlying type unsigned int
kIOScaleStretchToFit 1 scalerFlags kIOScaleRotateFlags 240 kIOScaleSwapAxes 16 kIOScaleInvertX 32 kIOScaleInvertY 64 kIOScaleRotate0 0 kIOScaleRotate90 48 kIOScaleRotate180 96 kIOScaleRotate270 80
underlying type unsigned int
kIOPixelEncodingNotSupported 0 kIOPixelEncodingRGB444 1 kIOPixelEncodingYCbCr444 2 kIOPixelEncodingYCbCr422 4 kIOPixelEncodingYCbCr420 8
underlying type unsigned int
kIOBitsPerColorComponentNotSupported 0 kIOBitsPerColorComponent6 1 kIOBitsPerColorComponent8 2 kIOBitsPerColorComponent10 4 kIOBitsPerColorComponent12 8 kIOBitsPerColorComponent16 16
underlying type unsigned int
kIOColorimetryNotSupported 0 kIOColorimetryNativeRGB 1 kIOColorimetrysRGB 2 kIOColorimetryDCIP3 4 kIOColorimetryAdobeRGB 8 kIOColorimetryxvYCC 16 kIOColorimetryWGRGB 32 kIOColorimetryBT601 64 kIOColorimetryBT709 128 kIOColorimetryBT2020 256 kIOColorimetryBT2100 512
underlying type unsigned int
kIODynamicRangeNotSupported 0 dynamicRange - should be in sync with "supportedDynamicRangeModes" enum below kIODynamicRangeSDR 1 kIODynamicRangeHDR10 2 kIODynamicRangeDolbyNormalMode 4 kIODynamicRangeDolbyTunnelMode 8 kIODynamicRangeTraditionalGammaHDR 16 kIODynamicRangeTraditionalGammaSDR 32 as of IOGRAPHICSTYPES_REV 72
typedef struct IOFBDisplayModeDescription IOFBDisplayModeDescription size 240, align 8
UInt32 [2]__reservedA Init to 0 UInt32 version Init to 0 UInt32 [5]__reservedB Init to 0 UInt64 minPixelClock Min dot clock in Hz UInt64 maxPixelClock Max dot clock in Hz UInt32 maxPixelError Max dot clock error UInt32 supportedSyncFlags UInt32 supportedSignalLevels UInt32 supportedSignalConfigs UInt32 minFrameRate Hz UInt32 maxFrameRate Hz UInt32 minLineRate Hz UInt32 maxLineRate Hz UInt32 maxHorizontalTotal Clocks - Maximum total (active + blanking) UInt32 maxVerticalTotal Clocks - Maximum total (active + blanking) UInt32 [2]__reservedD Init to 0 UInt8 charSizeHorizontalActive UInt8 charSizeHorizontalBlanking UInt8 charSizeHorizontalSyncOffset UInt8 charSizeHorizontalSyncPulse UInt8 charSizeVerticalActive UInt8 charSizeVerticalBlanking UInt8 charSizeVerticalSyncOffset UInt8 charSizeVerticalSyncPulse UInt8 charSizeHorizontalBorderLeft UInt8 charSizeHorizontalBorderRight UInt8 charSizeVerticalBorderTop UInt8 charSizeVerticalBorderBottom UInt8 charSizeHorizontalTotal Character size for active + blanking UInt8 charSizeVerticalTotal Character size for active + blanking UInt16 __reservedE Reserved (Init to 0) UInt32 minHorizontalActiveClocks UInt32 maxHorizontalActiveClocks UInt32 minHorizontalBlankingClocks UInt32 maxHorizontalBlankingClocks UInt32 minHorizontalSyncOffsetClocks UInt32 maxHorizontalSyncOffsetClocks UInt32 minHorizontalPulseWidthClocks UInt32 maxHorizontalPulseWidthClocks UInt32 minVerticalActiveClocks UInt32 maxVerticalActiveClocks UInt32 minVerticalBlankingClocks UInt32 maxVerticalBlankingClocks UInt32 minVerticalSyncOffsetClocks UInt32 maxVerticalSyncOffsetClocks UInt32 minVerticalPulseWidthClocks UInt32 maxVerticalPulseWidthClocks UInt32 minHorizontalBorderLeft UInt32 maxHorizontalBorderLeft UInt32 minHorizontalBorderRight UInt32 maxHorizontalBorderRight UInt32 minVerticalBorderTop UInt32 maxVerticalBorderTop UInt32 minVerticalBorderBottom UInt32 maxVerticalBorderBottom UInt32 maxNumLinks number of links, if zero, assume link 1 UInt32 minLink0PixelClock min pixel clock for link 0 (kHz) UInt32 maxLink0PixelClock max pixel clock for link 0 (kHz) UInt32 minLink1PixelClock min pixel clock for link 1 (kHz) UInt32 maxLink1PixelClock max pixel clock for link 1 (kHz) UInt16 supportedPixelEncoding UInt16 supportedBitsPerColorComponent UInt16 supportedColorimetryModes UInt16 supportedDynamicRangeModes UInt32 [1]__reservedF Init to 0
typedef struct IODisplayTimingRangeV1 IODisplayTimingRangeV1 @struct IODisplayTimingRangeV2
@abstract A structure defining the limits and attributes of DSC capabilities in a framebuffer.
@discussion This structure is used to define the limits for DSC enabled modes programmed as detailed timings by the OS. The VESA DSC spec is useful background information for many of these fields.
@field maxBandwidth Maximum permitted bandwidth of the given topology in bits per second.
@field dscMinSliceHeight Minimum slice Height, in units of line.
@field dscMaxSliceHeight Maximum slice Height, in units of line.
@field dscMinSliceWidth Minimum slice width, in units of line.
@field dscMaxSliceWidth Maximum slice width, in units of line.
@field dscMinSlicePerLine Minimum slice per Line.
@field dscMaxSlicePerLine Maximum slice per Line.
@field dscMinBPC Minimum Bits per component, in units of bits.
@field dscMaxBPC Maximum Bits per component, in units of bits.
@field dscMinBPP Minimum target bits/pixel, in bpp.
@field dscMaxBPP Maximum target bits/pixel, in bpp.
@field dscVBR VBR mode, 0:disabled 1:enabled.
@field dscBlockPredEnable DSC BP is user or not, 0: not used, 1: used.
@field __reservedF Set to zero.
size 312, align 8
UInt32 [2]__reservedA Init to 0 UInt32 version Init to 0 UInt32 [5]__reservedB Init to 0 UInt64 minPixelClock Min dot clock in Hz UInt64 maxPixelClock Max dot clock in Hz UInt32 maxPixelError Max dot clock error UInt32 supportedSyncFlags UInt32 supportedSignalLevels UInt32 supportedSignalConfigs UInt32 minFrameRate Hz UInt32 maxFrameRate Hz UInt32 minLineRate Hz UInt32 maxLineRate Hz UInt32 maxHorizontalTotal Clocks - Maximum total (active + blanking) UInt32 maxVerticalTotal Clocks - Maximum total (active + blanking) UInt32 [2]__reservedD Init to 0 UInt8 charSizeHorizontalActive UInt8 charSizeHorizontalBlanking UInt8 charSizeHorizontalSyncOffset UInt8 charSizeHorizontalSyncPulse UInt8 charSizeVerticalActive UInt8 charSizeVerticalBlanking UInt8 charSizeVerticalSyncOffset UInt8 charSizeVerticalSyncPulse UInt8 charSizeHorizontalBorderLeft UInt8 charSizeHorizontalBorderRight UInt8 charSizeVerticalBorderTop UInt8 charSizeVerticalBorderBottom UInt8 charSizeHorizontalTotal Character size for active + blanking UInt8 charSizeVerticalTotal Character size for active + blanking UInt16 __reservedE Reserved (Init to 0) UInt32 minHorizontalActiveClocks UInt32 maxHorizontalActiveClocks UInt32 minHorizontalBlankingClocks UInt32 maxHorizontalBlankingClocks UInt32 minHorizontalSyncOffsetClocks UInt32 maxHorizontalSyncOffsetClocks UInt32 minHorizontalPulseWidthClocks UInt32 maxHorizontalPulseWidthClocks UInt32 minVerticalActiveClocks UInt32 maxVerticalActiveClocks UInt32 minVerticalBlankingClocks UInt32 maxVerticalBlankingClocks UInt32 minVerticalSyncOffsetClocks UInt32 maxVerticalSyncOffsetClocks UInt32 minVerticalPulseWidthClocks UInt32 maxVerticalPulseWidthClocks UInt32 minHorizontalBorderLeft UInt32 maxHorizontalBorderLeft UInt32 minHorizontalBorderRight UInt32 maxHorizontalBorderRight UInt32 minVerticalBorderTop UInt32 maxVerticalBorderTop UInt32 minVerticalBorderBottom UInt32 maxVerticalBorderBottom UInt32 maxNumLinks number of links, if zero, assume link 1 UInt32 minLink0PixelClock min pixel clock for link 0 (kHz) UInt32 maxLink0PixelClock max pixel clock for link 0 (kHz) UInt32 minLink1PixelClock min pixel clock for link 1 (kHz) UInt32 maxLink1PixelClock max pixel clock for link 1 (kHz) UInt16 supportedPixelEncoding UInt16 supportedBitsPerColorComponent UInt16 supportedColorimetryModes UInt16 supportedDynamicRangeModes UInt32 [1]__reservedF Init to 0 UInt64 maxBandwidth UInt32 dscMinSliceHeight UInt32 dscMaxSliceHeight UInt32 dscMinSliceWidth UInt32 dscMaxSliceWidth UInt32 dscMinSlicePerLine UInt32 dscMaxSlicePerLine UInt16 dscMinBPC UInt16 dscMaxBPC UInt16 dscMinBPP UInt16 dscMaxBPP UInt8 dscVBR UInt8 dscBlockPredEnable UInt32 [6]__reservedC
typedef struct IODisplayTimingRangeV2 IODisplayTimingRangeV2 underlying type unsigned int
kIOTimingRangeV2 2 IOTimingRange version kIOTimingRangeV1 0
underlying type unsigned int
kIORangePixelEncodingNotSupported 0 supportedPixelEncoding kIORangePixelEncodingRGB444 1 kIORangePixelEncodingYCbCr444 2 kIORangePixelEncodingYCbCr422 4 kIORangePixelEncodingYCbCr420 8
underlying type unsigned int
kIORangeBitsPerColorComponentNotSupported 0 supportedBitsPerColorComponent kIORangeBitsPerColorComponent6 1 kIORangeBitsPerColorComponent8 2 kIORangeBitsPerColorComponent10 4 kIORangeBitsPerColorComponent12 8 kIORangeBitsPerColorComponent16 16
underlying type unsigned int
kIORangeColorimetryNotSupported 0 supportedColorimetry kIORangeColorimetryNativeRGB 1 kIORangeColorimetrysRGB 2 kIORangeColorimetryDCIP3 4 kIORangeColorimetryAdobeRGB 8 kIORangeColorimetryxvYCC 16 kIORangeColorimetryWGRGB 32 kIORangeColorimetryBT601 64 kIORangeColorimetryBT709 128 kIORangeColorimetryBT2020 256 kIORangeColorimetryBT2100 512
underlying type unsigned int
kIORangeDynamicRangeNotSupported 0 supportedDynamicRangeModes - should be in sync with "dynamicRange" enum above kIORangeDynamicRangeSDR 1 kIORangeDynamicRangeHDR10 2 kIORangeDynamicRangeDolbyNormalMode 4 kIORangeDynamicRangeDolbyTunnelMode 8 kIORangeDynamicRangeTraditionalGammaHDR 16 kIORangeDynamicRangeTraditionalGammaSDR 32 as of IOGRAPHICSTYPES_REV 72
underlying type unsigned int
kIORangeSupportsSignal_0700_0300 1 supportedSignalLevels kIORangeSupportsSignal_0714_0286 2 kIORangeSupportsSignal_1000_0400 4 kIORangeSupportsSignal_0700_0000 8
underlying type unsigned int
kIORangeSupportsSeparateSyncs 1 supportedSyncFlags kIORangeSupportsSyncOnGreen 2 kIORangeSupportsCompositeSync 4 kIORangeSupportsVSyncSerration 8 kIORangeSupportsVRR 16 since IOGRAPHICSTYPES_REV 76
underlying type unsigned int
kIORangeSupportsInterlacedCEATiming 4 supportedSignalConfigs kIORangeSupportsInterlacedCEATimingWithConfirm 8 kIORangeSupportsMultiAlignedTiming 64 since IOGRAPHICSTYPES_REV 75
underlying type unsigned int
kIODigitalSignal 1 signalConfig kIOAnalogSetupExpected 2 kIOInterlacedCEATiming 4 kIONTSCTiming 8 kIOPALTiming 16 kIODSCBlockPredEnable 32 kIOMultiAlignedTiming 64 since IOGRAPHICSTYPES_REV 73
underlying type unsigned int
kIOAnalogSignalLevel_0700_0300 0 signalLevels for analog kIOAnalogSignalLevel_0714_0286 1 kIOAnalogSignalLevel_1000_0400 2 kIOAnalogSignalLevel_0700_0000 3
underlying type unsigned int
kIOSyncPositivePolarity 1 horizontalSyncConfig and verticalSyncConfig
underlying type unsigned int
kIOScaleStretchOnly 1 scalerFeatures kIOScaleCanUpSamplePixels 2 kIOScaleCanDownSamplePixels 4 kIOScaleCanScaleInterlaced 8 kIOScaleCanSupportInset 16 kIOScaleCanRotate 32 kIOScaleCanBorderInsetOnly 64
underlying type unsigned int
kOrConnections 268435454 kAndConnections 268435453
underlying type unsigned int
kConnectionFlags 1718380403 kConnectionSyncEnable 1937337955 kConnectionSyncFlags 1937335142 kConnectionSupportsAppleSense 1634954867 kConnectionSupportsLLDDCSense 1818518627 kConnectionSupportsHLDDCSense 1751409763 kConnectionEnable 1701732706 kConnectionCheckEnable 1667591777 kConnectionProbe 1886547810 kConnectionIgnore 6907762 kConnectionChanged 1667788391 kConnectionPower 1886353266 kConnectionPostWake 1886871915 kConnectionDisplayParameterCount 1885564532 kConnectionDisplayParameters 1885434477 kConnectionOverscan 1869833070 kConnectionVideoBest 1986163572 kConnectionRedGammaScale 1919382371 kConnectionGreenGammaScale 1734832995 kConnectionBlueGammaScale 1650946915 kConnectionGammaScale 1735615264 kConnectionFlushParameters 1718383987 kConnectionVBLMultiplier 1986161773 kConnectionHandleDisplayPortEvent 1685088626 kConnectionPanelTimingDisable 1886284916 kConnectionColorMode 1668904310 kConnectionColorModesSupported 1668246642 kConnectionColorDepthsSupported 543322211 kConnectionControllerDepthsSupported 6779492 kConnectionControllerColorDepth 6582372 kConnectionControllerDitherControl 6775907 kConnectionDisplayFlags 1684434023 kConnectionEnableAudio 1635083296 kConnectionAudioStreaming 1635083379 kConnectionStartOfFrameTime 1936680564 as of IOGRAPHICSTYPES_REV 65
kConnectionFlags values
underlying type unsigned int
kIOConnectionBuiltIn 2048 kIOConnectionStereoSync 32768
kConnectionSyncControl values
underlying type unsigned int
kIOHSyncDisable 1 kIOVSyncDisable 2 kIOCSyncDisable 4 kIONoSeparateSyncControl 64 kIOTriStateSyncs 128 kIOSyncOnBlue 8 kIOSyncOnGreen 16 kIOSyncOnRed 32
kConnectionHandleDisplayPortEvent values
underlying type unsigned int
kIODPEventStart 1 kIODPEventIdle 2 kIODPEventForceRetrain 3 kIODPEventRemoteControlCommandPending 256 kIODPEventAutomatedTestRequest 257 kIODPEventContentProtection 258 kIODPEventMCCS 259 kIODPEventSinkSpecific 260
#define kIODisplayAttributesKey "IODisplayAttributes" #define kIODisplaySupportsUnderscanKey "IODisplaySupportsUnderscan" #define kIODisplaySupportsBasicAudioKey "IODisplaySupportsBasicAudio" #define kIODisplaySupportsYCbCr444Key "IODisplaySupportsYCbCr444" #define kIODisplaySupportsYCbCr422Key "IODisplaySupportsYCbCr422" #define kIODisplaySelectedColorModeKey "cmod" underlying type unsigned int
kIODisplayColorMode 1668904310
underlying type unsigned int
kIODisplayRGBColorComponentBitsUnknown 0 kConnectionColorDepthsSupported attribute kIODisplayRGBColorComponentBits6 1 kIODisplayRGBColorComponentBits8 2 kIODisplayRGBColorComponentBits10 4 kIODisplayRGBColorComponentBits12 8 kIODisplayRGBColorComponentBits14 16 kIODisplayRGBColorComponentBits16 32 kIODisplayYCbCr444ColorComponentBitsUnknown 0 kIODisplayYCbCr444ColorComponentBits6 256 kIODisplayYCbCr444ColorComponentBits8 512 kIODisplayYCbCr444ColorComponentBits10 1024 kIODisplayYCbCr444ColorComponentBits12 2048 kIODisplayYCbCr444ColorComponentBits14 4096 kIODisplayYCbCr444ColorComponentBits16 8192 kIODisplayYCbCr422ColorComponentBitsUnknown 0 kIODisplayYCbCr422ColorComponentBits6 65536 kIODisplayYCbCr422ColorComponentBits8 131072 kIODisplayYCbCr422ColorComponentBits10 262144 kIODisplayYCbCr422ColorComponentBits12 524288 kIODisplayYCbCr422ColorComponentBits14 1048576 kIODisplayYCbCr422ColorComponentBits16 2097152
underlying type unsigned int
kIODisplayDitherDisable 0 kConnectionDitherControl attribute kIODisplayDitherSpatial 1 kIODisplayDitherTemporal 2 kIODisplayDitherFrameRateControl 4 kIODisplayDitherDefault 128 kIODisplayDitherAll 255 kIODisplayDitherRGBShift 0 kIODisplayDitherYCbCr444Shift 8 kIODisplayDitherYCbCr422Shift 16
underlying type unsigned int
kIODisplayNeedsCEAUnderscan 1 kConnectionDisplayFlags attribute
underlying type unsigned int
kIODisplayPowerStateOff 0 kIODisplayPowerStateMinUsable 1 kIODisplayPowerStateOn 2
#define IO_DISPLAY_CAN_FILL 0x00000040 #define IO_DISPLAY_CAN_BLIT 0x00000020 #define IO_24BPP_TRANSFER_TABLE_SIZE 256 #define IO_15BPP_TRANSFER_TABLE_SIZE 256 #define IO_8BPP_TRANSFER_TABLE_SIZE 256 #define IO_12BPP_TRANSFER_TABLE_SIZE 256 #define IO_2BPP_TRANSFER_TABLE_SIZE 256 #define STDFB_BM256_TO_BM38_MAP_SIZE 256 #define STDFB_BM38_TO_BM256_MAP_SIZE 256 #define STDFB_4BPS_TO_5BPS_MAP_SIZE 16 #define STDFB_5BPS_TO_4BPS_MAP_SIZE 32 underlying type unsigned int
kIOFBServerConnectType 0 connection types for IOServiceOpen kIOFBSharedConnectType 1 kIOGDiagnoseGTraceType 11452 On Display Wrangler kIOGDiagnoseConnectType 38744 kIODisplayAssertionConnectType 61074
underlying type unsigned int
kIOFBUserRequestProbe 1 options for IOServiceRequestProbe()
typedef struct IOGPoint IOGPoint typedef struct IOGSize IOGSize typedef struct IOGBounds IOGBounds underlying type unsigned int
kTransparentEncoding 0 kInvertingEncoding 1
underlying type unsigned int
kTransparentEncodingShift 0 kTransparentEncodedPixel 1 kInvertingEncodingShift 2 kInvertingEncodedPixel 4
underlying type unsigned int
kHardwareCursorDescriptorMajorVersion 1 kHardwareCursorDescriptorMinorVersion 0
typedef struct IOHardwareCursorDescriptor IOHardwareCursorDescriptor underlying type unsigned int
kHardwareCursorInfoMajorVersion 1 kHardwareCursorInfoMinorVersion 0
typedef struct IOHardwareCursorInfo IOHardwareCursorInfo underlying type unsigned int
kIOFBVBLInterruptType 1986161696 kIOFBHBLInterruptType 1751280672 kIOFBFrameInterruptType 1718772077 kIOFBConnectInterruptType 1684236576 Demand to check configuration (Hardware unchanged) kIOFBChangedInterruptType 1667788391 Demand to rebuild (Hardware has reinitialized on dependent change) kIOFBOfflineInterruptType 1919249782 Demand to remove framebuffer (Hardware not available on dependent change -- but must not buserror) kIOFBOnlineInterruptType 1633969184 Notice that hardware is available (after being removed) kIOFBDisplayPortInterruptType 1685088626 DisplayPort short pulse kIOFBDisplayPortLinkChangeInterruptType 1685089387 DisplayPort link event kIOFBMCCSInterruptType 1835230067 MCCS kIOFBWakeInterruptType 1987535211 early vram notification
IOAppleTimingID's
underlying type unsigned int
kIOTimingIDInvalid 0 Not a standard timing kIOTimingIDApple_FixedRateLCD 42 Lump all fixed-rate LCDs into one category. kIOTimingIDApple_512x384_60hz 130 512x384 (60 Hz) Rubik timing. kIOTimingIDApple_560x384_60hz 135 560x384 (60 Hz) Rubik-560 timing. kIOTimingIDApple_640x480_67hz 140 640x480 (67 Hz) HR timing. kIOTimingIDApple_640x400_67hz 145 640x400 (67 Hz) HR-400 timing. kIOTimingIDVESA_640x480_60hz 150 640x480 (60 Hz) VGA timing. kIOTimingIDVESA_640x480_72hz 152 640x480 (72 Hz) VGA timing. kIOTimingIDVESA_640x480_75hz 154 640x480 (75 Hz) VGA timing. kIOTimingIDVESA_640x480_85hz 158 640x480 (85 Hz) VGA timing. kIOTimingIDGTF_640x480_120hz 159 640x480 (120 Hz) VESA Generalized Timing Formula kIOTimingIDApple_640x870_75hz 160 640x870 (75 Hz) FPD timing. kIOTimingIDApple_640x818_75hz 165 640x818 (75 Hz) FPD-818 timing. kIOTimingIDApple_832x624_75hz 170 832x624 (75 Hz) GoldFish timing. kIOTimingIDVESA_800x600_56hz 180 800x600 (56 Hz) SVGA timing. kIOTimingIDVESA_800x600_60hz 182 800x600 (60 Hz) SVGA timing. kIOTimingIDVESA_800x600_72hz 184 800x600 (72 Hz) SVGA timing. kIOTimingIDVESA_800x600_75hz 186 800x600 (75 Hz) SVGA timing. kIOTimingIDVESA_800x600_85hz 188 800x600 (85 Hz) SVGA timing. kIOTimingIDVESA_1024x768_60hz 190 1024x768 (60 Hz) VESA 1K-60Hz timing. kIOTimingIDVESA_1024x768_70hz 200 1024x768 (70 Hz) VESA 1K-70Hz timing. kIOTimingIDVESA_1024x768_75hz 204 1024x768 (75 Hz) VESA 1K-75Hz timing (very similar to kIOTimingIDApple_1024x768_75hz ). kIOTimingIDVESA_1024x768_85hz 208 1024x768 (85 Hz) VESA timing. kIOTimingIDApple_1024x768_75hz 210 1024x768 (75 Hz) Apple 19" RGB. kIOTimingIDVESA_1152x864_75hz 215 1152x864 (75 Hz) VESA timing. kIOTimingIDApple_1152x870_75hz 220 1152x870 (75 Hz) Apple 21" RGB. kIOTimingIDAppleNTSC_ST 230 512x384 (60 Hz, interlaced, non-convolved). kIOTimingIDAppleNTSC_FF 232 640x480 (60 Hz, interlaced, non-convolved). kIOTimingIDAppleNTSC_STconv 234 512x384 (60 Hz, interlaced, convolved). kIOTimingIDAppleNTSC_FFconv 236 640x480 (60 Hz, interlaced, convolved). kIOTimingIDApplePAL_ST 238 640x480 (50 Hz, interlaced, non-convolved). kIOTimingIDApplePAL_FF 240 768x576 (50 Hz, interlaced, non-convolved). kIOTimingIDApplePAL_STconv 242 640x480 (50 Hz, interlaced, convolved). kIOTimingIDApplePAL_FFconv 244 768x576 (50 Hz, interlaced, convolved). kIOTimingIDVESA_1280x960_75hz 250 1280x960 (75 Hz) kIOTimingIDVESA_1280x960_60hz 252 1280x960 (60 Hz) kIOTimingIDVESA_1280x960_85hz 254 1280x960 (85 Hz) kIOTimingIDVESA_1280x1024_60hz 260 1280x1024 (60 Hz) kIOTimingIDVESA_1280x1024_75hz 262 1280x1024 (75 Hz) kIOTimingIDVESA_1280x1024_85hz 268 1280x1024 (85 Hz) kIOTimingIDVESA_1600x1200_60hz 280 1600x1200 (60 Hz) VESA timing. kIOTimingIDVESA_1600x1200_65hz 282 1600x1200 (65 Hz) VESA timing. kIOTimingIDVESA_1600x1200_70hz 284 1600x1200 (70 Hz) VESA timing. kIOTimingIDVESA_1600x1200_75hz 286 1600x1200 (75 Hz) VESA timing (pixel clock is 189.2 Mhz dot clock). kIOTimingIDVESA_1600x1200_80hz 288 1600x1200 (80 Hz) VESA timing (pixel clock is 216>? Mhz dot clock) - proposed only. kIOTimingIDVESA_1600x1200_85hz 289 1600x1200 (85 Hz) VESA timing (pixel clock is 229.5 Mhz dot clock). kIOTimingIDVESA_1792x1344_60hz 296 1792x1344 (60 Hz) VESA timing (204.75 Mhz dot clock). kIOTimingIDVESA_1792x1344_75hz 298 1792x1344 (75 Hz) VESA timing (261.75 Mhz dot clock). kIOTimingIDVESA_1856x1392_60hz 300 1856x1392 (60 Hz) VESA timing (218.25 Mhz dot clock). kIOTimingIDVESA_1856x1392_75hz 302 1856x1392 (75 Hz) VESA timing (288 Mhz dot clock). kIOTimingIDVESA_1920x1440_60hz 304 1920x1440 (60 Hz) VESA timing (234 Mhz dot clock). kIOTimingIDVESA_1920x1440_75hz 306 1920x1440 (75 Hz) VESA timing (297 Mhz dot clock). kIOTimingIDSMPTE240M_60hz 400 60Hz V, 33.75KHz H, interlaced timing, 16:9 aspect, typical resolution of 1920x1035. kIOTimingIDFilmRate_48hz 410 48Hz V, 25.20KHz H, non-interlaced timing, typical resolution of 640x480. kIOTimingIDSony_1600x1024_76hz 500 1600x1024 (76 Hz) Sony timing (pixel clock is 170.447 Mhz dot clock). kIOTimingIDSony_1920x1080_60hz 510 1920x1080 (60 Hz) Sony timing (pixel clock is 159.84 Mhz dot clock). kIOTimingIDSony_1920x1080_72hz 520 1920x1080 (72 Hz) Sony timing (pixel clock is 216.023 Mhz dot clock). kIOTimingIDSony_1920x1200_76hz 540 1900x1200 (76 Hz) Sony timing (pixel clock is 243.20 Mhz dot clock). kIOTimingIDApple_0x0_0hz_Offline 550 Indicates that this timing will take the display off-line and remove it from the system. kIOTimingIDVESA_848x480_60hz 570 848x480 (60 Hz) VESA timing. kIOTimingIDVESA_1360x768_60hz 590 1360x768 (60 Hz) VESA timing.
#define kIOFramebufferInfoKey "IOFramebufferInformation" #define kIOFBWidthKey "IOFBWidth" #define kIOFBHeightKey "IOFBHeight" #define kIOFBRefreshRateKey "IOFBRefreshRate" #define kIOFBFlagsKey "IOFBFlags" #define kIOFBBytesPerRowKey "IOFBBytesPerRow" #define kIOFBBytesPerPlaneKey "IOFBBytesPerPlane" #define kIOFBBitsPerPixelKey "IOFBBitsPerPixel" #define kIOFBComponentCountKey "IOFBComponentCount" #define kIOFBBitsPerComponentKey "IOFBBitsPerComponent" #define kIOFBDetailedTimingsKey "IOFBDetailedTimings" #define kIOFBTimingRangeKey "IOFBTimingRange" #define kIOFBScalerInfoKey "IOFBScalerInfo" #define kIOFBCursorInfoKey "IOFBCursorInfo" #define kIOFBHDMIDongleROMKey "IOFBHDMIDongleROM" #define kIOFBHostAccessFlagsKey "IOFBHostAccessFlags" #define kIOFBMemorySizeKey "IOFBMemorySize" #define kIOFBNeedsRefreshKey "IOFBNeedsRefresh" #define kIOFBProbeOptionsKey "IOFBProbeOptions" #define kIOFBGammaWidthKey "IOFBGammaWidth" #define kIOFBGammaCountKey "IOFBGammaCount" #define kIOFBCLUTDeferKey "IOFBCLUTDefer" #define kIOFBDisplayPortConfigurationDataKey "dpcd-registers" exists on the hibernate progress display device
#define kIOHibernatePreviewActiveKey "IOHibernatePreviewActive" values for kIOHibernatePreviewActiveKey set by driver
underlying type unsigned int
kIOHibernatePreviewActive 1 kIOHibernatePreviewUpdates 2
#define kIOHibernateEFIGfxStatusKey "IOHibernateEFIGfxStatus" CFNumber/CFData
#define kIOFBAVSignalTypeKey "av-signal -type" underlying type unsigned int
kIOFBAVSignalTypeUnknown 0 kIOFBAVSignalTypeVGA 1 kIOFBAVSignalTypeDVI 2 kIOFBAVSignalTypeHDMI 8 kIOFBAVSignalTypeDP 16
size 28, align 2
uint16_t version 8 bit high (major); 8 bit low (minor) uint8_t bitRate same encoding as the spec uint8_t[1] __reservedA reserved set to zero uint16_t t1Time minimum duration of the t1 pattern (microseconds) uint16_t t2Time minimum duration of the t2 pattern uint16_t t3Time minimum duration of the t3 pattern uint8_t idlePatterns minimum number of idle patterns uint8_t laneCount number of lanes in the link uint8_t voltage uint8_t preEmphasis uint8_t downspread uint8_t scrambler uint8_t maxBitRate same encoding as the bitRate field uint8_t maxLaneCount an integer uint8_t maxDownspread 0 = Off. 1 = 0.5 uint8_t[9] __reservedB reserved set to zero - fix align and provide 8 bytes of padding.
typedef struct IOFBDPLinkConfig IOFBDPLinkConfig underlying type unsigned int
kIOFBBitRateRBR 6 1.62 Gbps per lane kIOFBBitRateHBR 10 2.70 Gbps per lane kIOFBBitRateHBR2 20 5.40 Gbps per lane
underlying type unsigned int
kIOFBLinkVoltageLevel0 0 kIOFBLinkVoltageLevel1 1 kIOFBLinkVoltageLevel2 2 kIOFBLinkVoltageLevel3 3
underlying type unsigned int
kIOFBLinkPreEmphasisLevel0 0 kIOFBLinkPreEmphasisLevel1 1 kIOFBLinkPreEmphasisLevel2 2 kIOFBLinkPreEmphasisLevel3 3
underlying type unsigned int
kIOFBLinkDownspreadNone 0 kIOFBLinkDownspreadMax 1
underlying type unsigned int
kIOFBLinkScramblerNormal 0 for external displays kIOFBLinkScramblerAlternate 1 used for eDP
#define kIOFBConfigKey "IOFBConfig" #define kIOFBModesKey "IOFBModes" #define kIOFBModeIDKey "ID" #define kIOFBModeDMKey "DM " #define kIOFBModeTMKey "TM" #define kIOFBModeAIDKey "AID" #define kIOFBModeDFKey "DF" #define kIOFBModePIKey "PI" #define kIODisplayEDIDKey "IODisplayEDID" #define kIODisplayEDIDOriginalKey "IODisplayEDIDOriginal" #define kIODisplayLocationKey "IODisplayLocation" CFString
#define kIODisplayConnectFlagsKey "IODisplayConnectFlags" CFNumber
#define kIODisplayHasBacklightKey "IODisplayHasBacklight" CFBoolean
#define kIODisplayIsDigitalKey "IODisplayIsDigital" CFBoolean
#define kDisplayBundleKey "DisplayBundle" #define kAppleDisplayTypeKey "AppleDisplayType" #define kAppleSenseKey "AppleSense" #define kIODisplayMCCSVersionKey "IODisplayMCCSVersion" #define kIODisplayTechnologyTypeKey "IODisplayTechnologyType" #define kIODisplayUsageTimeKey "IODisplayUsageTime" #define kIODisplayFirmwareLevelKey "IODisplayFirmwareLevel" underlying type unsigned int
kDisplayVendorIDUnknown 1970170734 kDisplayProductIDGeneric 1815
#define kDisplayVendorID "DisplayVendorID" CFNumber
#define kDisplayProductID "DisplayProductID" CFNumber
#define kDisplaySerialNumber "DisplaySerialNumber" CFNumber
#define kDisplaySerialString "DisplaySerialString" CFString
#define kDisplayWeekOfManufacture "DisplayWeekManufacture" CFNumber
#define kDisplayYearOfManufacture "DisplayYearManufacture" CFNumber
CFDictionary of language-locale keys, name values
eg. "en"="Color LCD", "en-GB"="Colour LCD"
#define kDisplayProductName "DisplayProductName" all CFNumber or CFArray of CFNumber (floats)
#define kDisplayWhitePointX "DisplayWhitePointX" #define kDisplayWhitePointY "DisplayWhitePointY" #define kDisplayRedPointX "DisplayRedPointX" #define kDisplayRedPointY "DisplayRedPointY" #define kDisplayGreenPointX "DisplayGreenPointX" #define kDisplayGreenPointY "DisplayGreenPointY" #define kDisplayBluePointX "DisplayBluePointX" #define kDisplayBluePointY "DisplayBluePointY" #define kDisplayWhiteGamma "DisplayWhiteGamma" #define kDisplayRedGamma "DisplayRedGamma" #define kDisplayGreenGamma "DisplayGreenGamma" #define kDisplayBlueGamma "DisplayBlueGamma" Display gamma
#define kDisplayGammaChannels "DisplayGammaChannels" CFNumber 1 or 3 channel count
#define kDisplayGammaEntryCount "DisplayGammaEntryCount" CFNumber 1-based count of entries per channel
#define kDisplayGammaEntrySize "DisplayGammaEntrySize" CFNumber size in bytes of each table entry
#define kDisplayGammaTable "DisplayGammaTable" CFData
CFBoolean
#define kDisplayBrightnessAffectsGamma "DisplayBrightnessAffectsGamma" #define kDisplayViewAngleAffectsGamma "DisplayViewAngleAffectsGamma" CFData
#define kDisplayCSProfile "DisplayCSProfile" CFNumber
#define kDisplayHorizontalImageSize "DisplayHorizontalImageSize" #define kDisplayVerticalImageSize "DisplayVerticalImageSize" underlying type unsigned int
kDisplaySubPixelLayoutUndefined 0 kDisplaySubPixelLayoutRGB 1 kDisplaySubPixelLayoutBGR 2 kDisplaySubPixelLayoutQuadGBL 3 kDisplaySubPixelLayoutQuadGBR 4 kDisplaySubPixelConfigurationUndefined 0 kDisplaySubPixelConfigurationDelta 1 kDisplaySubPixelConfigurationStripe 2 kDisplaySubPixelConfigurationStripeOffset 3 kDisplaySubPixelConfigurationQuad 4 kDisplaySubPixelShapeUndefined 0 kDisplaySubPixelShapeRound 1 kDisplaySubPixelShapeSquare 2 kDisplaySubPixelShapeRectangular 3 kDisplaySubPixelShapeOval 4 kDisplaySubPixelShapeElliptical 5
CFNumbers
#define kDisplaySubPixelLayout "DisplaySubPixelLayout" #define kDisplaySubPixelConfiguration "DisplaySubPixelConfiguration" #define kDisplaySubPixelShape "DisplaySubPixelShape" #define kIODisplayOverrideMatchingKey "IODisplayOverrideMatching" #define kIODisplayParametersKey "IODisplayParameters" #define kIODisplayGUIDKey "IODisplayGUID" #define kIODisplayValueKey "value" #define kIODisplayMinValueKey "min " #define kIODisplayMaxValueKey "max " #define kIODisplayBrightnessProbeKey "brightness-probe" #define kIODisplayLinearBrightnessProbeKey "linear-brightness-probe" #define kIODisplayBrightnessKey "brightness" #define kIODisplayLinearBrightnessKey "linear-brightness" #define kIODisplayUsableLinearBrightnessKey "usable-linear-brightness" #define kIODisplayBrightnessFadeKey "brightness-fade" #define kIODisplayContrastKey "contrast" #define kIODisplayHorizontalPositionKey "horizontal-position" #define kIODisplayHorizontalSizeKey "horizontal-size" #define kIODisplayVerticalPositionKey "vertical-position" #define kIODisplayVerticalSizeKey "vertical-size" #define kIODisplayTrapezoidKey "trapezoid" #define kIODisplayPincushionKey "pincushion" #define kIODisplayParallelogramKey "parallelogram" #define kIODisplayRotationKey "rotation" #define kIODisplayTheatreModeKey "theatre-mode" #define kIODisplayTheatreModeWindowKey "theatre-mode-window" #define kIODisplayOverscanKey "oscn" #define kIODisplayVideoBestKey "vbst" #define kIODisplaySpeakerVolumeKey "speaker-volume" #define kIODisplaySpeakerSelectKey "speaker-select " #define kIODisplayMicrophoneVolumeKey "microphone-volume" #define kIODisplayAmbientLightSensorKey "ambient-light-sensor" #define kIODisplayAudioMuteAndScreenBlankKey "audio-mute-and-screen-blank" #define kIODisplayAudioTrebleKey "audio-treble" #define kIODisplayAudioBassKey "audio-bass" #define kIODisplayAudioBalanceLRKey "audio-balance-LR" #define kIODisplayAudioProcessorModeKey "audio-processor-mode" #define kIODisplayPowerModeKey "power-mode" #define kIODisplayManufacturerSpecificKey "manufacturer-specific" #define kIODisplayPowerStateKey "dsyp" #define kIODisplayControllerIDKey "IODisplayControllerID" #define kIODisplayCapabilityStringKey "IODisplayCapabilityString" #define kIODisplayRedGammaScaleKey "rgsc" #define kIODisplayGreenGammaScaleKey "ggsc" #define kIODisplayBlueGammaScaleKey "bgsc" #define kIODisplayGammaScaleKey "gsc " #define kIODisplayParametersCommitKey "commit" #define kIODisplayParametersDefaultKey "defaults" #define kIODisplayParametersFlushKey "flush" Generated 2026-09-08 from the headers of one specific machine (macOS 26.4.1, SDK 26.4, arm64) — not official documentation. About & caveats