Re: [RESEND2][PATCH] drm/bridge: analogix-anx6345: Fix drm_dp_link helper removal

2020-02-21 Thread Laurent Pinchart
Hi Torsten, On Fri, Feb 21, 2020 at 04:01:17PM +0100, Torsten Duwe wrote: > On Fri, Feb 21, 2020 at 03:39:32PM +0100, Thomas Zimmermann wrote: > > Am 21.02.20 um 15:04 schrieb Torsten Duwe: > > > drm_dp_link_rate_to_bw_code and ...bw_code_to_link_rate simply divide by > > > and multiply with 27000

Re: [RESEND2][PATCH] drm/bridge: analogix-anx6345: Fix drm_dp_link helper removal

2020-02-21 Thread Torsten Duwe
On Fri, Feb 21, 2020 at 03:39:32PM +0100, Thomas Zimmermann wrote: > Hi Torsten > > Am 21.02.20 um 15:04 schrieb Torsten Duwe: > > drm_dp_link_rate_to_bw_code and ...bw_code_to_link_rate simply divide by > > and multiply with 27000, respectively. Avoid an overflow in the u8 dpcd[0] > > and the mul

Re: [RESEND2][PATCH] drm/bridge: analogix-anx6345: Fix drm_dp_link helper removal

2020-02-21 Thread Thomas Zimmermann
Hi Torsten Am 21.02.20 um 15:04 schrieb Torsten Duwe: > drm_dp_link_rate_to_bw_code and ...bw_code_to_link_rate simply divide by > and multiply with 27000, respectively. Avoid an overflow in the u8 dpcd[0] > and the multiply+divide alltogether. > > fixes: e1cff82c1097bda2478 ("fix anx6345 compila

[RESEND2][PATCH] drm/bridge: analogix-anx6345: Fix drm_dp_link helper removal

2020-02-21 Thread Torsten Duwe
drm_dp_link_rate_to_bw_code and ...bw_code_to_link_rate simply divide by and multiply with 27000, respectively. Avoid an overflow in the u8 dpcd[0] and the multiply+divide alltogether. fixes: e1cff82c1097bda2478 ("fix anx6345 compilation for v5.5") Signed-off-by: Torsten Duwe --- https://patchwor

[RESEND][PATCH] drm/bridge: analogix-anx6345: Fix drm_dp_link helper removal

2020-02-18 Thread Torsten Duwe
drm_dp_link_rate_to_bw_code and ...bw_code_to_link_rate simply divide by and multiply with 27000, respectively. Avoid an overflow in the u8 dpcd[0] and the multiply+divide alltogether. fixes: e1cff82c1097bda2478 ("fix anx6345 compilation for v5.5") Signed-off-by: Torsten Duwe --- https://patchwor

[PATCH] drm/bridge: analogix-anx6345: Fix drm_dp_link helper removal

2019-11-30 Thread Torsten Duwe
drm_dp_link_rate_to_bw_code and ...bw_code_to_link_rate simply divide by and multiply with 27000, respectively. Avoid an overflow in the u8 dpcd[0] and the multiply+divide alltogether. fixes: e1cff82c1097bda2478 ("fix anx6345 compilation for v5.5") Signed-off-by: Torsten Duwe --- Same as 78xx bef