diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-03-13 13:40:00 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-15 09:57:02 -0500 |
commit | 567cc73a1be96ee84fb5b4086538297105835064 (patch) | |
tree | a50f92086a966f73abf907a2bc8c3e60de84a11c /drivers/gpu/drm/amd/powerplay/smumgr | |
parent | 0d8a81d926ec76546d34efcb1fd104c117785000 (diff) | |
download | linux-567cc73a1be96ee84fb5b4086538297105835064.tar.bz2 |
drm/amd/pp: Fix function parameter not correct
caused by "commit dcefb7668e5b4fb56099b16d1790cd3056322b03"
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smumgr')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.c index 5dbef413b098..3dec4819dc7f 100644 --- a/drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.c +++ b/drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.c @@ -234,10 +234,10 @@ static int rv_smu_fini(struct pp_hwmgr *hwmgr) rv_smc_disable_vcn(hwmgr); amdgpu_bo_free_kernel(&priv->smu_tables.entry[SMU10_WMTABLE].handle, &priv->smu_tables.entry[SMU10_WMTABLE].mc_addr, - priv->smu_tables.entry[SMU10_WMTABLE].table); + &priv->smu_tables.entry[SMU10_WMTABLE].table); amdgpu_bo_free_kernel(&priv->smu_tables.entry[SMU10_CLOCKTABLE].handle, &priv->smu_tables.entry[SMU10_CLOCKTABLE].mc_addr, - priv->smu_tables.entry[SMU10_CLOCKTABLE].table); + &priv->smu_tables.entry[SMU10_CLOCKTABLE].table); kfree(hwmgr->smu_backend); hwmgr->smu_backend = NULL; } |