RE: [PATCH] drm/dp: follow DP link CTS spec to read link status back

2021-07-07 Thread Lee, Shawn C
On Wed, July 7, 2021, 3:05 p.m., Simon Ser wrote: >> + DP_LINK_STATUS_SIZE + 2); > >Suggestion: use sizeof(full_link_stat) here instead to avoid this getting >out-of-sync with the real array size? > I will update v2 patch later. Thanks for comment! Best regards,

Re: [PATCH] drm/dp: follow DP link CTS spec to read link status back

2021-07-07 Thread Simon Ser
> +DP_LINK_STATUS_SIZE + 2); Suggestion: use sizeof(full_link_stat) here instead to avoid this getting out-of-sync with the real array size?

[PATCH] drm/dp: follow DP link CTS spec to read link status back

2021-07-07 Thread Lee Shawn C
Refer to DP link CTS 1.2/1.4 spec, the following test case request source read DPCD 200h - 205h to get latest link status from sink. (4.3.2.4) Handling of IRQ HPD Pulse with No Error Status Bits Set (400.3.2.1) Successful Link Re-training After IRQ HPD Pulse Due to Loss of Symbol Lock: