diff options
| author | Can Guo <[email protected]> | 2025-05-22 02:15:37 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-05-28 02:07:04 +0000 |
| commit | c77b37dafb81660b939f82d81b637b91b0207cfe (patch) | |
| tree | c13a7f9b7df27533d26efa068aaf278d1e240a48 /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | scsi: ufs: qcom: Map devfreq OPP freq to UniPro Core Clock freq (diff) | |
| download | kernel-c77b37dafb81660b939f82d81b637b91b0207cfe.tar.gz kernel-c77b37dafb81660b939f82d81b637b91b0207cfe.zip | |
scsi: ufs: qcom: Call ufs_qcom_cfg_timers() in clock scaling path
ufs_qcom_cfg_timers() is clock freq dependent like
ufs_qcom_set_core_clk_ctrl(), hence move ufs_qcom_cfg_timers() call to
clock scaling path. In addition, do not assume the devfreq OPP freq is
always the 'core_clock' freq although 'core_clock' is the first clock
phandle in device tree, use ufs_qcom_opp_freq_to_clk_freq() to find the
core clk freq.
Signed-off-by: Can Guo <[email protected]>
Co-developed-by: Ziqi Chen <[email protected]>
Signed-off-by: Ziqi Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Luca Weiss <[email protected]>
Closes: https://lore.kernel.org/linux-arm-msm/[email protected]/
Tested-by: Luca Weiss <[email protected]>
Reviewed-by: Bean Huo <[email protected]>
Tested-by: Loïc Minier <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions
