aboutsummaryrefslogtreecommitdiff
path: root/virt/lib
diff options
context:
space:
mode:
authorKent Russell <kent.russell@amd.com>2020-02-25 07:22:29 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-02-26 14:17:42 -0500
commit944effd3371621317f1e6f2b106909c84f7c9103 (patch)
treea84312a2e055af7773a8db60e42084665ecc10c2 /virt/lib
parent75ddb640e193a1f1796679171d7bc81ec79ad9bb (diff)
drm/amdgpu: Fix check for DPM when returning max clock
pp_funcs may not exist, while dpm may be enabled. This change ensures that KFD topology will report the same as pp_dpm_sclk, as the conditions for reporting them will be the same. Otherwise, we may see the issue where KFD reports "100MHz" in topology as the max speed, while DPM is working correctly. Signed-off-by: Kent Russell <kent.russell@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'virt/lib')
0 files changed, 0 insertions, 0 deletions