Skip to content

Commit 0637d41

Browse files
committed
drm/amdgpu: no DC support for headless chips
Chips with no display hardware should return false for DC support. v2: drop Arcturus and Aldebaran Fixes: f7f12b2 ("drm/amdgpu: default to true in amdgpu_device_asic_has_dc_support") Reviewed-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Guchun Chen <guchun.chen@amd.com> Reported-by: Tareque Md.Hanif <tarequemd.hanif@yahoo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent f28cad8 commit 0637d41

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3185,6 +3185,12 @@ static void amdgpu_device_detect_sriov_bios(struct amdgpu_device *adev)
31853185
bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
31863186
{
31873187
switch (asic_type) {
3188+
#ifdef CONFIG_DRM_AMDGPU_SI
3189+
case CHIP_HAINAN:
3190+
#endif
3191+
case CHIP_TOPAZ:
3192+
/* chips with no display hardware */
3193+
return false;
31883194
#if defined(CONFIG_DRM_AMD_DC)
31893195
case CHIP_TAHITI:
31903196
case CHIP_PITCAIRN:

0 commit comments

Comments
 (0)