diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2025-03-18 15:35:42 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-04-11 14:48:04 +0300 |
commit | 0edf9d2bb9b4ba7566dfdc7605883e04575129d9 (patch) | |
tree | 6cf01eae2ffc9fa255a4d897f112a7c3e1284b24 /tools/perf/scripts/python/parallel-perf.py | |
parent | bacf2fe750dab6bc7ed50556aaadd3ab107fc643 (diff) | |
download | linux-0edf9d2bb9b4ba7566dfdc7605883e04575129d9.tar.xz |
phy: rockchip: samsung-hdptx: Avoid Hz<->hHz unit conversion overhead
The ropll_tmds_cfg table used to identify the configuration params for
the supported rates expects the search key, i.e. bit_rate member of
struct ropll_config, to be provided in hHz rather than Hz (1 hHz = 100
Hz). This requires multiple conversions between these units being
performed at runtime.
Improve implementation clarity and efficiency by consistently using the
Hz unit throughout driver's internal data structures and functions.
Also rename the rather misleading struct member.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250318-phy-sam-hdptx-bpc-v6-8-8cb1678e7663@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions