drm/amdgpu: add judgement when add ip blocks (v2)
authorLikun GAO <Likun.Gao@amd.com>
Thu, 29 Apr 2021 06:08:13 +0000 (14:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:29:22 +0000 (22:29 -0400)
commit7bd939d04db9e6c3e92bb3ffb46ba9192cb258fc
tree100366c11372ce39cbfb161f7564a46e8a2fdb70
parent1acbb613c445e35037a1ddd416cd697fc76143b5
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/include/amd_shared.h