drm/amdgpu: remove unnecessary asic type check
authorHawking Zhang <Hawking.Zhang@amd.com>
Sat, 21 Nov 2020 13:07:12 +0000 (21:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:01:05 +0000 (15:01 -0500)
commitd0f2f634f59d8f35e70644daf956bf04d2ff2d0c
tree0cabbc45888481a82aeee62ee9606ff21d49209f
parent35b14475257f553a7cd60ce4b2571304644f652b
drm/amdgpu: remove unnecessary asic type check

The number of crtc should be 0 for ASICs that don't
have display engine. Remove the unnecessary asic type
check then.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c