Name

drm_get_edid_switcheroo — get EDID data for a vga_switcheroo output

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.