summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_dp.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-07-06 15:21:42 +0400
committerBen Skeggs <bskeggs@redhat.com>2011-09-20 10:05:48 +0400
commit02e4f5877dc7b963b3dd2beaf9664cf29c12d728 (patch)
treef374377a38bb946b65e43f34427ee07e53468ef7 /drivers/gpu/drm/nouveau/nouveau_dp.c
parent4784e4aa47a1754cdd1be24fd5106b722c4c137d (diff)
downloadlinux-02e4f5877dc7b963b3dd2beaf9664cf29c12d728.tar.xz
drm/nouveau/bios: allow passing in crtc to the init table parser
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_dp.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_dp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c
index 7beb82a0315d..44de23d9a437 100644
--- a/drivers/gpu/drm/nouveau/nouveau_dp.c
+++ b/drivers/gpu/drm/nouveau/nouveau_dp.c
@@ -300,7 +300,7 @@ nouveau_dp_link_train(struct drm_encoder *encoder)
if (dpe->script0) {
NV_DEBUG_KMS(dev, "SOR-%d: running DP script 0\n", nv_encoder->or);
nouveau_bios_run_init_table(dev, le16_to_cpu(dpe->script0),
- nv_encoder->dcb);
+ nv_encoder->dcb, -1);
}
train:
@@ -433,7 +433,7 @@ stop:
if (dpe->script1) {
NV_DEBUG_KMS(dev, "SOR-%d: running DP script 1\n", nv_encoder->or);
nouveau_bios_run_init_table(dev, le16_to_cpu(dpe->script1),
- nv_encoder->dcb);
+ nv_encoder->dcb, -1);
}
/* re-enable hotplug detect */