diff options
| author | Torsten Duwe <[email protected]> | 2020-02-18 16:57:44 +0100 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2020-02-21 13:22:05 +0100 |
| commit | 3e138a63d6674a4567a018a31e467567c40b14d5 (patch) | |
| tree | a78a06d341e2dd92198fd6dea8f3263321231e8e /tools/perf/scripts/python/stackcollapse.py | |
| parent | d718e53a48f7bcfa6cdd0c00d5ed1fb516595446 (diff) | |
drm/bridge: analogix-anx78xx: Fix drm_dp_link helper removal
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.
Signed-off-by: Torsten Duwe <[email protected]>
Fixes: ff1e8fb68ea0 ("drm/bridge: analogix-anx78xx: Avoid drm_dp_link helpers")
Cc: Thierry Reding <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Andrzej Hajda <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Jonas Karlman <[email protected]>
Cc: Jernej Skrabec <[email protected]>
Cc: <[email protected]> # v5.5+
Reviewed-by: Thierry Reding <[email protected]>
Signed-off-by: Thomas Zimmermann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions