Contents

getTimingInfoForDisplayMode

Returns a timing description for a display mode.

Declaration

virtual IOReturn getTimingInfoForDisplayMode( 
 IODisplayModeIDdisplayMode,
 IOTimingInformation *info );

Parameters

  • displayMode:

    A display mode ID representing the mode to examine.

  • info:

    The driver returns the information for the display mode in this structure.

    If the mode has an Apple defined constant, such as timingVESA_1024x768_75hz, it should be returned in the appleTimingID field. Otherwise the field should be set to timingInvalid.

    If the driver is able to supply detailed timing information, it should return it in the detailedInfo.v2 field of the structure, otherwise the driver should clear the kIODetailedTimingValid flag from the flags field.

    The IODetailedTimingInformationV2 structure is documented in IOGraphicsTypes.h

Return Value

an IOReturn code. A return other than kIOReturnSuccess will prevent the system from using the device.

Overview

IOFramebuffer subclasses should implement this method to return timing information for a display mode. This allows the OS to enable display modes based on its knowledge of the connected display type. Two types of timing information are defined, by Apple defined constant, or by a detailed description of the timing parameters of the mode.

See Also

Miscellaneous