diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-12-14 14:32:53 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-18 10:58:35 -0500 |
commit | 4e89df63c110d7fb4883c8b3d653d3d0e5dac67d (patch) | |
tree | 3c21f56d542dc89873ecfc75880719fa0b26552c /drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h | |
parent | a89ff457d6f6200cd58db568c0138988bb60579c (diff) |
drm/amdgpu: move atom functions from amdgpu_device.c
and move them to amdgpu_atombios.c for consistency.
Acked-by: Christian König <christian.koenig@amd.com>
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h index 58507f9ff856..fd8f18074f7a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h | |||
@@ -195,7 +195,6 @@ int amdgpu_atombios_init_mc_reg_table(struct amdgpu_device *adev, | |||
195 | bool amdgpu_atombios_has_gpu_virtualization_table(struct amdgpu_device *adev); | 195 | bool amdgpu_atombios_has_gpu_virtualization_table(struct amdgpu_device *adev); |
196 | 196 | ||
197 | void amdgpu_atombios_scratch_regs_lock(struct amdgpu_device *adev, bool lock); | 197 | void amdgpu_atombios_scratch_regs_lock(struct amdgpu_device *adev, bool lock); |
198 | void amdgpu_atombios_scratch_regs_init(struct amdgpu_device *adev); | ||
199 | void amdgpu_atombios_scratch_regs_engine_hung(struct amdgpu_device *adev, | 198 | void amdgpu_atombios_scratch_regs_engine_hung(struct amdgpu_device *adev, |
200 | bool hung); | 199 | bool hung); |
201 | bool amdgpu_atombios_scratch_need_asic_init(struct amdgpu_device *adev); | 200 | bool amdgpu_atombios_scratch_need_asic_init(struct amdgpu_device *adev); |
@@ -217,6 +216,7 @@ int amdgpu_atombios_get_svi2_info(struct amdgpu_device *adev, | |||
217 | u8 voltage_type, | 216 | u8 voltage_type, |
218 | u8 *svd_gpio_id, u8 *svc_gpio_id); | 217 | u8 *svd_gpio_id, u8 *svc_gpio_id); |
219 | 218 | ||
220 | int amdgpu_atombios_allocate_fb_scratch(struct amdgpu_device *adev); | 219 | void amdgpu_atombios_fini(struct amdgpu_device *adev); |
220 | int amdgpu_atombios_init(struct amdgpu_device *adev); | ||
221 | 221 | ||
222 | #endif | 222 | #endif |