aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorKevin Wang <kevin1.wang@amd.com>2019-08-13 10:25:25 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-08-15 10:51:29 -0500
commit60adad6ffdaf69b96bb7eedd4c8b6de79143dd0a (patch)
treec389a9af521b6a107ba109d6bff78b58c596e4a3 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentdrm/amd/powerplay: add arcturus_is_dpm_running function for arcturus (diff)
downloadlinux-dev-60adad6ffdaf69b96bb7eedd4c8b6de79143dd0a.tar.xz
linux-dev-60adad6ffdaf69b96bb7eedd4c8b6de79143dd0a.zip
drm/amd/powerplay: fix message of SetHardMinByFreq failed when feature is disabled
the direct send message to smc to set hard clokc will failed when smc clock dpm feature is disabled. so use function of smu_set_hard_freq_range to replace it. the function will check feature enablement. eg: when uclk (mclk) dpm feature is disabled on navi10 [  300.675901] amdgpu: [powerplay] failed send message: SetHardMinByFreq(28)    param: 0x00020064 response 0xfffffffb Signed-off-by: Kevin Wang <kevin1.wang@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions