summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/dispnv50
diff options
context:
space:
mode:
authorMikita Lipski <mikita.lipski@amd.com>2019-11-14 16:24:29 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-01-09 18:07:47 -0500
commit1c6c1cb5afc77cc8afbe563937c3bd1a41172459 (patch)
tree8a8adf43c17e8212e41339f137545e9f047e1d33 /drivers/gpu/drm/nouveau/dispnv50
parentf9c8742c66e4b8180db4085555ace9f0775221ae (diff)
downloadlinux-stable-1c6c1cb5afc77cc8afbe563937c3bd1a41172459.tar.gz
linux-stable-1c6c1cb5afc77cc8afbe563937c3bd1a41172459.tar.bz2
linux-stable-1c6c1cb5afc77cc8afbe563937c3bd1a41172459.zip
drm/dp_mst: Manually overwrite PBN divider for calculating timeslots
[why] For DSC case we cannot use topology manager's PBN divider variable. The default divider does not take FEC into account. Therefore the driver has to calculate its own divider based on the link rate and lane count its handling, as it is hw specific. [how] Pass pbn_div as an argument, which is used if its more than zero, otherwise default topology manager's pbn_div will be used. Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Mikita Lipski <mikita.lipski@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50')
-rw-r--r--drivers/gpu/drm/nouveau/dispnv50/disp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c
index d0b8ebb3dfe2..fd31bff0c920 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/disp.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c
@@ -810,7 +810,7 @@ nv50_msto_atomic_check(struct drm_encoder *encoder,
}
slots = drm_dp_atomic_find_vcpi_slots(state, &mstm->mgr, mstc->port,
- asyh->dp.pbn);
+ asyh->dp.pbn, 0);
if (slots < 0)
return slots;