summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-07-05 22:26:48 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-07-14 18:06:18 +0300
commit21f6bcb6d449d24b63dd1d5d030d34d88baa6a0f (patch)
treec68c13b906cfe8628405f4480b6c38e5b369915a /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
parent6c8855541492b3d812d55c9fe5a2ed17ddf022b8 (diff)
downloadlinux-21f6bcb6d449d24b63dd1d5d030d34d88baa6a0f.tar.xz
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