Skip to content

Commit cb071fb

Browse files
alexdeuchergregkh
authored andcommitted
drm/radeon: clean up fujitsu quirks
commit 0eb1c3d upstream. Combine the two quirks. bug: https://bugzilla.kernel.org/show_bug.cgi?id=109481 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent a1c393a commit cb071fb

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

drivers/gpu/drm/radeon/radeon_atombios.c

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,9 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev,
452452
}
453453

454454
/* Fujitsu D3003-S2 board lists DVI-I as DVI-D and VGA */
455-
if (((dev->pdev->device == 0x9802) || (dev->pdev->device == 0x9806)) &&
455+
if (((dev->pdev->device == 0x9802) ||
456+
(dev->pdev->device == 0x9805) ||
457+
(dev->pdev->device == 0x9806)) &&
456458
(dev->pdev->subsystem_vendor == 0x1734) &&
457459
(dev->pdev->subsystem_device == 0x11bd)) {
458460
if (*connector_type == DRM_MODE_CONNECTOR_VGA) {
@@ -463,14 +465,6 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev,
463465
}
464466
}
465467

466-
/* Fujitsu D3003-S2 board lists DVI-I as DVI-I and VGA */
467-
if ((dev->pdev->device == 0x9805) &&
468-
(dev->pdev->subsystem_vendor == 0x1734) &&
469-
(dev->pdev->subsystem_device == 0x11bd)) {
470-
if (*connector_type == DRM_MODE_CONNECTOR_VGA)
471-
return false;
472-
}
473-
474468
return true;
475469
}
476470

0 commit comments

Comments
 (0)