SYNOPSIS
- struct edid * drm_get_edid_switcheroo(struct drm_connector * connector, struct i2c_adapter * adapter);
ARGUMENTS
connector
-
- connector we're probing
adapter
- I2C adapter to use for DDC
DESCRIPTION
Wrapper around drm_get_edid for laptops with dual GPUs using one set of outputs. The wrapper adds the requisite vga_switcheroo calls to temporarily switch DDC to the GPU which is retrieving EDID.
RETURN
Pointer to valid EDID or NULL if we couldn't find any.
AUTHORS
Jesse Barnes <[email protected]>
Intel Corporation,
- Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
- Driver internals
Daniel Vetter <[email protected]>
Intel Corporation,
- Contributions all over the place
Lukas Wunner <[email protected]>
- vga_switcheroo documentation
COPYRIGHT