diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-03-06 13:13:21 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-07 16:10:10 -0500 |
commit | ecc124b0355cb8de070f97e04a919200925598d5 (patch) | |
tree | 2a52e06a02dafa606984934c148ece26a81ead53 /drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.h | |
parent | 807f93ac6a1d37498fcd8f6af28f1e5f569ad8e4 (diff) | |
download | talos-obmc-linux-ecc124b0355cb8de070f97e04a919200925598d5.tar.gz talos-obmc-linux-ecc124b0355cb8de070f97e04a919200925598d5.zip |
drm/amd/pp: Delete the wrapper layer of smu_allocate/free_memory
use amdgpu_bo_create/free_kernel instand.
Reviewed-by: Alex Deucher <alexdeucher@amd.com>
Acked-by: Christian König <christian.koenig@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/rv_smumgr.h')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.h b/drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.h index caebdbebdcd8..0ff4ac5838f7 100644 --- a/drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.h +++ b/drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.h @@ -37,10 +37,9 @@ struct smu_table_entry { uint32_t version; uint32_t size; uint32_t table_id; - uint32_t table_addr_high; - uint32_t table_addr_low; - uint8_t *table; - unsigned long handle; + uint64_t mc_addr; + void *table; + struct amdgpu_bo *handle; }; struct smu_table_array { |