diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_connectors.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_connectors.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/radeon_connectors.c index 609eda6bcb7..2395c8600cf 100644 --- a/drivers/gpu/drm/radeon/radeon_connectors.c +++ b/drivers/gpu/drm/radeon/radeon_connectors.c | |||
@@ -1134,9 +1134,10 @@ radeon_add_atom_connector(struct drm_device *dev, | |||
1134 | drm_connector_attach_property(&radeon_connector->base, | 1134 | drm_connector_attach_property(&radeon_connector->base, |
1135 | rdev->mode_info.coherent_mode_property, | 1135 | rdev->mode_info.coherent_mode_property, |
1136 | 1); | 1136 | 1); |
1137 | drm_connector_attach_property(&radeon_connector->base, | 1137 | if (ASIC_IS_AVIVO(rdev)) |
1138 | rdev->mode_info.underscan_property, | 1138 | drm_connector_attach_property(&radeon_connector->base, |
1139 | UNDERSCAN_AUTO); | 1139 | rdev->mode_info.underscan_property, |
1140 | UNDERSCAN_AUTO); | ||
1140 | if (connector_type == DRM_MODE_CONNECTOR_DVII) { | 1141 | if (connector_type == DRM_MODE_CONNECTOR_DVII) { |
1141 | radeon_connector->dac_load_detect = true; | 1142 | radeon_connector->dac_load_detect = true; |
1142 | drm_connector_attach_property(&radeon_connector->base, | 1143 | drm_connector_attach_property(&radeon_connector->base, |
@@ -1162,9 +1163,10 @@ radeon_add_atom_connector(struct drm_device *dev, | |||
1162 | drm_connector_attach_property(&radeon_connector->base, | 1163 | drm_connector_attach_property(&radeon_connector->base, |
1163 | rdev->mode_info.coherent_mode_property, | 1164 | rdev->mode_info.coherent_mode_property, |
1164 | 1); | 1165 | 1); |
1165 | drm_connector_attach_property(&radeon_connector->base, | 1166 | if (ASIC_IS_AVIVO(rdev)) |
1166 | rdev->mode_info.underscan_property, | 1167 | drm_connector_attach_property(&radeon_connector->base, |
1167 | UNDERSCAN_AUTO); | 1168 | rdev->mode_info.underscan_property, |
1169 | UNDERSCAN_AUTO); | ||
1168 | subpixel_order = SubPixelHorizontalRGB; | 1170 | subpixel_order = SubPixelHorizontalRGB; |
1169 | break; | 1171 | break; |
1170 | case DRM_MODE_CONNECTOR_DisplayPort: | 1172 | case DRM_MODE_CONNECTOR_DisplayPort: |
@@ -1196,9 +1198,10 @@ radeon_add_atom_connector(struct drm_device *dev, | |||
1196 | drm_connector_attach_property(&radeon_connector->base, | 1198 | drm_connector_attach_property(&radeon_connector->base, |
1197 | rdev->mode_info.coherent_mode_property, | 1199 | rdev->mode_info.coherent_mode_property, |
1198 | 1); | 1200 | 1); |
1199 | drm_connector_attach_property(&radeon_connector->base, | 1201 | if (ASIC_IS_AVIVO(rdev)) |
1200 | rdev->mode_info.underscan_property, | 1202 | drm_connector_attach_property(&radeon_connector->base, |
1201 | UNDERSCAN_AUTO); | 1203 | rdev->mode_info.underscan_property, |
1204 | UNDERSCAN_AUTO); | ||
1202 | break; | 1205 | break; |
1203 | case DRM_MODE_CONNECTOR_SVIDEO: | 1206 | case DRM_MODE_CONNECTOR_SVIDEO: |
1204 | case DRM_MODE_CONNECTOR_Composite: | 1207 | case DRM_MODE_CONNECTOR_Composite: |