diff options
| author | 2017-09-15 18:34:42 +0800 | |
|---|---|---|
| committer | 2017-12-04 16:33:18 -0500 | |
| commit | d668942bb8527a7872fdcd94a9ed2d5e4c9b72a6 (patch) | |
| tree | 9950f57919c635673c2f4de922b9472883459ca3 /drivers/gpu/drm/amd/include/kgd_pp_interface.h | |
| parent | drm/amdgpu: add header kgd_pp_interface.h (diff) | |
| download | wireguard-linux-d668942bb8527a7872fdcd94a9ed2d5e4c9b72a6.tar.xz wireguard-linux-d668942bb8527a7872fdcd94a9ed2d5e4c9b72a6.zip | |
drm/amdgpu: add new pp function point notify_smu_memory_info
Used to set up smu power logging.
Reviewed-by: Alex Deucher <alexander.deucher@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/include/kgd_pp_interface.h')
| -rw-r--r-- | drivers/gpu/drm/amd/include/kgd_pp_interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/kgd_pp_interface.h b/drivers/gpu/drm/amd/include/kgd_pp_interface.h index f104668d8a7f..eab504ecca25 100644 --- a/drivers/gpu/drm/amd/include/kgd_pp_interface.h +++ b/drivers/gpu/drm/amd/include/kgd_pp_interface.h @@ -260,6 +260,11 @@ struct amd_pm_funcs { int (*load_firmware)(void *handle); int (*wait_for_fw_loading_complete)(void *handle); int (*set_clockgating_by_smu)(void *handle, uint32_t msg_id); + int (*notify_smu_memory_info)(void *handle, uint32_t virtual_addr_low, + uint32_t virtual_addr_hi, + uint32_t mc_addr_low, + uint32_t mc_addr_hi, + uint32_t size); /* export to DC */ u32 (*get_sclk)(void *handle, bool low); u32 (*get_mclk)(void *handle, bool low); |
