drm/amdgpu: add judgement for dc support
authorAsher Song <Asher.Song@amd.com>
Fri, 21 May 2021 09:11:33 +0000 (17:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 May 2021 03:44:16 +0000 (23:44 -0400)
commitabaf210c281d8e829324bc49e8b0bf665ea88a7b
tree9cd1de414b282d4a8976dca0bb51b1bb5a3eca2e
parent0e9def2108afbb3b91fca1dd985731b327e4c823
drm/amdgpu: add judgement for dc support

Drop DC initialization when DCN is harvested in VBIOS. The way
doesn't affect virtual display ip initialization.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Asher Song <Asher.Song@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_device.c