aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-09-23 13:10:49 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:54:17 -0400
commit43bf11bd9231ad06bd1d91c847beda52b88bc6e0 (patch)
treec9a150fb340728c58a5d0324bda1b8d305124f71 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent0cdd500560e233aef4e0749c9f014e9ee8f4d752 (diff)
drm/amdgpu: move atom scratch setup into amdgpu_atombios.c
There will be a slightly different version for atomfirmware. Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 7f996ac089b4..dfbfd56bcc25 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -994,7 +994,7 @@ static int amdgpu_atombios_init(struct amdgpu_device *adev)
mutex_init(&adev->mode_info.atom_context->mutex);
amdgpu_atombios_scratch_regs_init(adev);
- amdgpu_atom_allocate_fb_scratch(adev->mode_info.atom_context);
+ amdgpu_atombios_allocate_fb_scratch(adev);
return 0;
}