summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra/sor.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-07-24 17:10:31 +0200
committerThierry Reding <treding@nvidia.com>2019-10-28 11:18:56 +0100
commitd23691f647855ff765c67d281ec73c59104d9eb1 (patch)
tree4f4d939c775b136d211155e9134f0bfa95e5114d /drivers/gpu/drm/tegra/sor.c
parent61417aaa11402f8363a806a7167c46041f44465e (diff)
drm/tegra: sor: Use correct I/O pad for DP
The correct I/O pad needs to be powered up before DP can be used. Make sure the correct default is set for Tegra generations where the I/O pad cannot be derived from the SOR instance. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/sor.c')
-rw-r--r--drivers/gpu/drm/tegra/sor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c
index a245bbbd638a..bf2e31199166 100644
--- a/drivers/gpu/drm/tegra/sor.c
+++ b/drivers/gpu/drm/tegra/sor.c
@@ -3934,6 +3934,7 @@ static int tegra_sor_probe(struct platform_device *pdev)
sor->pad = TEGRA_IO_PAD_LVDS;
} else if (sor->soc->supports_dp) {
sor->ops = &tegra_sor_dp_ops;
+ sor->pad = TEGRA_IO_PAD_LVDS;
} else {
dev_err(&pdev->dev, "unknown (DP) support\n");
return -ENODEV;