drm/nouveau/bios: allow passing in crtc to the init table parser
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user