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, 13 May 2021 14:47:15 +0000 (10:47 -0400)
commit5c1a376823c408efd7de30fc300e687c78627f27
treeddd5a2949b1901330cd51dd543ae4f35e0eae0dc
parent83a0b8639185f40ab7fc9dd291a057150eb9d238
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