diff options
| author | Jon Hunter <[email protected]> | 2020-12-02 09:14:17 +0000 |
|---|---|---|
| committer | Viresh Kumar <[email protected]> | 2020-12-07 13:02:44 +0530 |
| commit | cfef4bcaccf35f0b80acc5c79967996b2eb88ba6 (patch) | |
| tree | 539106df0d0be085b6806d8c614e7ad3da8d3978 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | b7b4e785520ff87383ab5131f903544a261e83a1 (diff) | |
cpufreq: tegra186: Simplify cluster information lookup
The CPUFREQ driver framework references each individual CPUs when
getting and setting the speed. Tegra186 has 3 clusters of A57 CPUs and
1 cluster of Denver CPUs. Hence, the Tegra186 CPUFREQ driver need to
know which cluster a given CPU belongs to. The logic in the Tegra186
driver can be greatly simplified by storing the cluster ID associated
with each CPU in the tegra186_cpufreq_cpu structure. This allow us to
completely remove the Tegra cluster info structure from the driver and
simplifiy the code.
Signed-off-by: Jon Hunter <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions