diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-05-19 14:06:07 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-06-11 16:10:45 +1000 |
commit | 3b52a1f90639a88b3c76e4d42b60c34dd950cad3 (patch) | |
tree | 4b670f672e20d056cf8e54402a09a7c39bdb24e5 /drivers/gpu/drm/nouveau/core/engine/disp/nv50.c | |
parent | 2bd651ea4323e7fd1379593b701dd25289c68193 (diff) | |
download | op-kernel-dev-3b52a1f90639a88b3c76e4d42b60c34dd950cad3.zip op-kernel-dev-3b52a1f90639a88b3c76e4d42b60c34dd950cad3.tar.gz |
drm/nouveau/disp/dp: make use of existing output data for link training
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/disp/nv50.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/disp/nv50.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c b/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c index d2553c9..2b9ef82 100644 --- a/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c +++ b/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c @@ -1471,8 +1471,7 @@ nv50_disp_intr_unk20_2(struct nv50_disp_priv *priv, int head) break; } - nouveau_dp_train(&priv->base, priv->sor.dp, - &outp->info, head, datarate); + nouveau_dp_train((void *)outp, datarate); } exec_clkcmp(priv, head, 0, pclk, &conf); @@ -1551,8 +1550,7 @@ nv50_disp_intr_unk40_0(struct nv50_disp_priv *priv, int head) break; } - nouveau_dp_train(&priv->base, priv->pior.dp, - &outp->info, head, datarate); + nouveau_dp_train((void *)outp, datarate); } } @@ -1665,7 +1663,6 @@ nv50_disp_ctor(struct nouveau_object *parent, struct nouveau_object *engine, priv->dac.sense = nv50_dac_sense; priv->sor.power = nv50_sor_power; priv->pior.power = nv50_pior_power; - priv->pior.dp = &nv50_pior_dp_func; return 0; } |