summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-03-30 00:23:49 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-04-29 00:47:30 +0300
commit24681cb50bcbe09a4f8f609d35c350c7d246fe5e (patch)
tree2315b77d428d29d6330e92f5c0f9839e447de815 /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
parent478d338bb0ca49f4974436f6e005d3816dcba115 (diff)
downloadlinux-24681cb50bcbe09a4f8f609d35c350c7d246fe5e.tar.xz
drm/amdgpu/discovery: add a function to get the mall_size
Add a function to fetch the mall size from the IP discovery table. Properly handle harvest configurations where more or less cache may be available. 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_discovery.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
index 14537cec19db..752fb2e46849 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
@@ -34,6 +34,7 @@ int amdgpu_discovery_get_ip_version(struct amdgpu_device *adev, int hw_id, int n
int *major, int *minor, int *revision);
int amdgpu_discovery_get_gfx_info(struct amdgpu_device *adev);
+int amdgpu_discovery_get_mall_info(struct amdgpu_device *adev);
int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev);
#endif /* __AMDGPU_DISCOVERY__ */