drm/amdgpu: update the method for harvest IP for specific SKU
authorLikun Gao <Likun.Gao@amd.com>
Fri, 7 May 2021 05:56:46 +0000 (13:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:29:27 +0000 (22:29 -0400)
commit32358093b66d49f6cb4d6dec8ed948f9ed69e928
treedd5217e92072ff251094e7eadaa8673400c81e15
parent7bd939d04db9e6c3e92bb3ffb46ba9192cb258fc
drm/amdgpu: update the method for harvest IP for specific SKU

Update the method of disabling VCN IP for specific SKU for navi1x ASIC,
it will judge whether should add the related IP at the function of
amdgpu_device_ip_block_add().

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/nv.c