Skip to content

Commit 68b3adb

Browse files
agd5fairlied
authored andcommitted
drm/radeon/kms/legacy: only enable load detection property on DVI-I
DVI-D doesn't have analog. This matches the avivo behavior. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 3515387 commit 68b3adb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/radeon/radeon_connectors.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,6 +1316,8 @@ radeon_add_legacy_connector(struct drm_device *dev,
13161316
radeon_connector->ddc_bus = radeon_i2c_create(dev, i2c_bus, "DVI");
13171317
if (!radeon_connector->ddc_bus)
13181318
goto failed;
1319+
}
1320+
if (connector_type == DRM_MODE_CONNECTOR_DVII) {
13191321
radeon_connector->dac_load_detect = true;
13201322
drm_connector_attach_property(&radeon_connector->base,
13211323
rdev->mode_info.load_detect_property,

0 commit comments

Comments
 (0)