summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-07-05 21:26:48 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-07-14 17:06:18 +0200
commit21f6bcb6d449d24b63dd1d5d030d34d88baa6a0f (patch)
treec68c13b906cfe8628405f4480b6c38e5b369915a /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
parentdrm/amdgpu/atom: fix atom_fw check (diff)
downloadlinux-21f6bcb6d449d24b63dd1d5d030d34d88baa6a0f.tar.xz
linux-21f6bcb6d449d24b63dd1d5d030d34d88baa6a0f.zip
drm/amdgpu/atomfirmware: implement vram_width for APUs
Implement support using the new atomfirmware system info table. Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> 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_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 907e48f6b301..cedafbb9183e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
@@ -27,5 +27,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);
#endif