summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2017-05-19 16:59:35 +0300
committerBen Skeggs <bskeggs@redhat.com>2017-06-16 07:04:56 +0300
commita1de2b522fef9fd725f2edb6989af68b8749acf5 (patch)
treecd02cf2fa35da76cc7ff3dde4a54e110bc412278 /drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c
parenta3e81117ce0bcec293352558613e35065659da10 (diff)
downloadlinux-a1de2b522fef9fd725f2edb6989af68b8749acf5.tar.xz
drm/nouveau/disp/g94-: port OR DP training pattern control to nvkm_ior
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c
index 545d4ccedffe..fecaa03eeb94 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c
@@ -122,7 +122,7 @@ nvkm_dp_train_pattern(struct lt_state *lt, u8 pattern)
u8 sink_tp;
OUTP_TRACE(&dp->outp, "training pattern %d", pattern);
- dp->func->pattern(dp, pattern);
+ dp->outp.ior->func->dp.pattern(dp->outp.ior, pattern);
nvkm_rdaux(dp->aux, DPCD_LC02, &sink_tp, 1);
sink_tp &= ~DPCD_LC02_TRAINING_PATTERN_SET;