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 <[email protected]> Reviewed-by: Guchun Chen <[email protected]> Reported-by: Tareque Md.Hanif <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent f28cad8 commit 0637d41

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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)