diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-03-14 20:51:24 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-05 00:24:57 (GMT) |
commit | 397a270effb01ee938a441327ae6dee732e8f653 (patch) | |
tree | 1f07d5bf12048285aca9bab78af0ea8826218255 /drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h | |
parent | 2cea03de1040a749b2868a8a2b0c0636281c166b (diff) | |
download | linux-397a270effb01ee938a441327ae6dee732e8f653.tar.xz |
drm/amdgpu: add an interface to get gfx constants from atombios
Fetch the values from atom rather than hardcoding them in the
driver.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h index 9e14420..8c2e696 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h @@ -144,6 +144,8 @@ bool amdgpu_atombios_get_connector_info_from_object_table(struct amdgpu_device * int amdgpu_atombios_get_clock_info(struct amdgpu_device *adev); +int amdgpu_atombios_get_gfx_info(struct amdgpu_device *adev); + bool amdgpu_atombios_get_asic_ss_info(struct amdgpu_device *adev, struct amdgpu_atom_ss *ss, int id, u32 clock); |