drm/tegra: sor: Hook up I2C-over-AUX to output
authorThierry Reding <treding@nvidia.com>
Tue, 21 Jul 2015 14:59:28 +0000 (16:59 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 10:18:53 +0000 (11:18 +0100)
This is necessary for the output abstraction to retrieve a list of valid
modes from the EDID of a connected panel/monitor. This will be useful in
conjunction with DisplayPort support that will be added in a subsequent
patch, so that the driver can read EDID via the AUX channel.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c

index 636807e..6f979c5 100644 (file)
@@ -3524,6 +3524,8 @@ static int tegra_sor_probe(struct platform_device *pdev)
 
                if (!sor->aux)
                        return -EPROBE_DEFER;
+
+               sor->output.ddc = &sor->aux->ddc;
        }
 
        if (!sor->aux) {