Re: [PATCH] drm/dp: For MST hub, Get max_link_rate_lane from extended rx capability field if EXTENDED_RECEIVER_CAPABILITY_FILED_PRESENT is set.

2020-09-09 Thread Lyude Paul
On Wed, 2020-09-09 at 21:36 +0300, Ville Syrjälä wrote: > On Wed, Sep 09, 2020 at 02:26:11PM -0400, Lyude Paul wrote: > > On Wed, 2020-09-09 at 21:20 +0300, Ville Syrjälä wrote: > > > On Wed, Sep 09, 2020 at 12:33:09PM -0400, Lyude Paul wrote: > > > > We just added a new helper for DPCD

Re: [PATCH] drm/dp: For MST hub, Get max_link_rate_lane from extended rx capability field if EXTENDED_RECEIVER_CAPABILITY_FILED_PRESENT is set.

2020-09-09 Thread Ville Syrjälä
On Wed, Sep 09, 2020 at 02:26:11PM -0400, Lyude Paul wrote: > On Wed, 2020-09-09 at 21:20 +0300, Ville Syrjälä wrote: > > On Wed, Sep 09, 2020 at 12:33:09PM -0400, Lyude Paul wrote: > > > We just added a new helper for DPCD retrieval to drm_dp_helper.c (which > > > also > > > handles grabbing the

Re: [PATCH] drm/dp: For MST hub, Get max_link_rate_lane from extended rx capability field if EXTENDED_RECEIVER_CAPABILITY_FILED_PRESENT is set.

2020-09-09 Thread Lyude Paul
On Wed, 2020-09-09 at 21:20 +0300, Ville Syrjälä wrote: > On Wed, Sep 09, 2020 at 12:33:09PM -0400, Lyude Paul wrote: > > We just added a new helper for DPCD retrieval to drm_dp_helper.c (which > > also > > handles grabbing the extended receiver caps), we should probably make use > > of > > it

Re: [PATCH] drm/dp: For MST hub, Get max_link_rate_lane from extended rx capability field if EXTENDED_RECEIVER_CAPABILITY_FILED_PRESENT is set.

2020-09-09 Thread Ville Syrjälä
On Wed, Sep 09, 2020 at 12:33:09PM -0400, Lyude Paul wrote: > We just added a new helper for DPCD retrieval to drm_dp_helper.c (which also > handles grabbing the extended receiver caps), we should probably make use of > it here Someone should really rework this whole thing so that the driver can

Re: [PATCH] drm/dp: For MST hub, Get max_link_rate_lane from extended rx capability field if EXTENDED_RECEIVER_CAPABILITY_FILED_PRESENT is set.

2020-09-09 Thread Lyude Paul
We just added a new helper for DPCD retrieval to drm_dp_helper.c (which also handles grabbing the extended receiver caps), we should probably make use of it here On Wed, 2020-09-09 at 14:31 +0800, Koba Ko wrote: > On Thu, Aug 27, 2020 at 1:30 PM Koba Ko wrote: > > Currently, DRM get the

Re: [PATCH] drm/dp: For MST hub, Get max_link_rate_lane from extended rx capability field if EXTENDED_RECEIVER_CAPABILITY_FILED_PRESENT is set.

2020-09-09 Thread Koba Ko
On Thu, Aug 27, 2020 at 1:30 PM Koba Ko wrote: > > Currently, DRM get the capability of the mst hub only from DP_DPCD_REV and > get the slower speed even the mst hub can run in the faster speed. > > As per DP-1.3, First check DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT. > If

[PATCH] drm/dp: For MST hub, Get max_link_rate_lane from extended rx capability field if EXTENDED_RECEIVER_CAPABILITY_FILED_PRESENT is set.

2020-08-26 Thread Koba Ko
Currently, DRM get the capability of the mst hub only from DP_DPCD_REV and get the slower speed even the mst hub can run in the faster speed. As per DP-1.3, First check DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT. If DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT is 1, read the DP_DP13_DPCD_REV to get the