summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-03-14 16:51:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-05-04 20:24:57 -0400
commit397a270effb01ee938a441327ae6dee732e8f653 (patch)
tree1f07d5bf12048285aca9bab78af0ea8826218255 /drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
parent2cea03de1040a749b2868a8a2b0c0636281c166b (diff)
downloadop-kernel-dev-397a270effb01ee938a441327ae6dee732e8f653.zip
op-kernel-dev-397a270effb01ee938a441327ae6dee732e8f653.tar.gz
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.h2
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);
OpenPOWER on IntegriCloud