drm/amdgpu: use proper DC check in amdgpu_display_supported_domains()
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Jul 2022 14:48:19 +0000 (10:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Nov 2022 16:51:25 +0000 (11:51 -0500)
commit96ce96f8773da4814622fd97e5226915a2c30706
treed6cfe1ebbc97fe1b67e243f648d3b289284bfbac
parent17a37fa1222cd32451d429c4386c0334a2ce563c
drm/amdgpu: use proper DC check in amdgpu_display_supported_domains()

amdgpu_device_asic_has_dc_support() just checks the asic itself.
amdgpu_device_has_dc_support() is a runtime check which not
only checks the asic, but also other things in the driver
like whether virtual display is enabled.  We want the latter
here.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c