diff options
| author | Lee, Shawn C <[email protected]> | 2018-09-12 06:22:50 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2018-09-19 13:44:12 +0000 |
| commit | 53ca2edcf033f3368b2dc0ef3cbcc2f47d556d13 (patch) | |
| tree | c7a8b6e2c93bb03c8cd5b4d3eb5b68e2154a3fe0 /drivers/gpu/drm/i915/intel_dp_mst.c | |
| parent | drm: Add support for device_id based detection. (diff) | |
| download | kernel-53ca2edcf033f3368b2dc0ef3cbcc2f47d556d13.tar.gz kernel-53ca2edcf033f3368b2dc0ef3cbcc2f47d556d13.zip | |
drm: Change limited M/N quirk to constant N quirk.
Some DP dongles in particular seem to be fussy about too large
link M/N values. Set specific value for N divider can resolve
this issue per dongle vendor's comment. So configure N as
constant value (0x8000) to instead of reduce M/N formula when
specific DP dongle connected.
v2: add more comments for issue description and fix typo.
v3: add lost commit messages back for version 2
v4: send patch to both intel-gfx and dri-devel
Cc: Jani Nikula <[email protected]>
Cc: Cooper Chiou <[email protected]>
Cc: Matt Atwood <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Dhinakaran Pandiyan <[email protected]>
Cc: Clint Taylor <[email protected]>
Tested-by: Clint Taylor <[email protected]>
Signed-off-by: Lee, Shawn C <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
| -rw-r--r-- | drivers/gpu/drm/i915/intel_dp_mst.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c index 7e3e01607643..b7505879b1f7 100644 --- a/drivers/gpu/drm/i915/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c @@ -45,8 +45,8 @@ static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, int lane_count, slots; const struct drm_display_mode *adjusted_mode = &pipe_config->base.adjusted_mode; int mst_pbn; - bool reduce_m_n = drm_dp_has_quirk(&intel_dp->desc, - DP_DPCD_QUIRK_LIMITED_M_N); + bool constant_n = drm_dp_has_quirk(&intel_dp->desc, + DP_DPCD_QUIRK_CONSTANT_N); if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) return false; @@ -87,7 +87,7 @@ static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, adjusted_mode->crtc_clock, pipe_config->port_clock, &pipe_config->dp_m_n, - reduce_m_n); + constant_n); pipe_config->dp_m_n.tu = slots; |
