]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp_mst: Manually overwrite PBN divider for calculating timeslots
authorMikita Lipski <mikita.lipski@amd.com>
Thu, 14 Nov 2019 21:24:29 +0000 (16:24 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jan 2020 23:07:47 +0000 (18:07 -0500)
commit0010d3734408c867eb79d4650cc8ec108a3cd550
tree8a8adf43c17e8212e41339f137545e9f047e1d33
parenta976d5b616ea0a03f9d86db51399ab7ac2ebab48
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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/drm_dp_mst_topology.c
drivers/gpu/drm/i915/display/intel_dp_mst.c
drivers/gpu/drm/nouveau/dispnv50/disp.c
include/drm/drm_dp_mst_helper.h