aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2017-07-10 14:39:09 +0000
committerAlex Deucher <[email protected]>2017-07-14 15:06:38 +0000
commit79077ee1edceb95d8c0215a9af5e8373232672df (patch)
treebdd0bd533b8f26681e38e05fd70e33fbdb44643a /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
parentdrm/amdgpu: Send no-retry XNACK for all fault types (diff)
downloadkernel-79077ee1edceb95d8c0215a9af5e8373232672df.tar.gz
kernel-79077ee1edceb95d8c0215a9af5e8373232672df.zip
drm/amdgpu: add get_clock_info for atomfirmware
The information has moved to different tables, notably smu_info for core refclk and umc_info for mem refclk. Acked-by: Chunming Zhou <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
index cedafbb9183e..288b97e54347 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
@@ -28,5 +28,6 @@ bool amdgpu_atomfirmware_gpu_supports_virtualization(struct amdgpu_device *adev)
void amdgpu_atomfirmware_scratch_regs_init(struct amdgpu_device *adev);
int amdgpu_atomfirmware_allocate_fb_scratch(struct amdgpu_device *adev);
int amdgpu_atomfirmware_get_vram_width(struct amdgpu_device *adev);
+int amdgpu_atomfirmware_get_clock_info(struct amdgpu_device *adev);
#endif