diff options
author | Likun GAO <Likun.Gao@amd.com> | 2021-04-29 14:08:13 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-13 10:46:58 -0400 |
commit | 83a0b8639185f40ab7fc9dd291a057150eb9d238 (patch) | |
tree | 82dce280c799d5880dc8425c6e4312e9fabe3555 /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h | |
parent | fe1c97d008f86f672f0e9265f180c22451ca3b9f (diff) | |
download | linux-stable-83a0b8639185f40ab7fc9dd291a057150eb9d238.tar.gz linux-stable-83a0b8639185f40ab7fc9dd291a057150eb9d238.tar.bz2 linux-stable-83a0b8639185f40ab7fc9dd291a057150eb9d238.zip |
drm/amdgpu: add judgement when add ip blocks (v2)
Judgement whether to add an sw ip according to the harvest info.
v2: fix indentation (Alex)
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@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.h | 1 |
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 8f6183801cb3..1b1ae21b1037 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h @@ -29,6 +29,7 @@ void amdgpu_discovery_fini(struct amdgpu_device *adev); int amdgpu_discovery_reg_base_init(struct amdgpu_device *adev); +void amdgpu_discovery_harvest_ip(struct amdgpu_device *adev); int amdgpu_discovery_get_ip_version(struct amdgpu_device *adev, int hw_id, int *major, int *minor, int *revision); int amdgpu_discovery_get_gfx_info(struct amdgpu_device *adev); |