Skip to content

Commit ebae897

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 7be3be2 commit ebae897

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
@@ -3166,6 +3166,12 @@ static void amdgpu_device_detect_sriov_bios(struct amdgpu_device *adev)
31663166
bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
31673167
{
31683168
switch (asic_type) {
3169+
#ifdef CONFIG_DRM_AMDGPU_SI
3170+
case CHIP_HAINAN:
3171+
#endif
3172+
case CHIP_TOPAZ:
3173+
/* chips with no display hardware */
3174+
return false;
31693175
#if defined(CONFIG_DRM_AMD_DC)
31703176
case CHIP_TAHITI:
31713177
case CHIP_PITCAIRN:

0 commit comments

Comments
 (0)