drm/radeon/kms: add tv standard property to tv connectors
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 1 Dec 2009 19:12:14 +0000 (14:12 -0500)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Dec 2009 01:37:18 +0000 (11:37 +1000)
Lets user select tv-standard.  The property was there,
just not hooked up.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c

index ec2f3ffc42c1073c0828e0eb3fb9ba015b38d001..7ab3c501b4ddab256452d5c632d79fe0bfce2cac 100644 (file)
@@ -1053,6 +1053,9 @@ radeon_add_atom_connector(struct drm_device *dev,
                        drm_connector_attach_property(&radeon_connector->base,
                                                      rdev->mode_info.load_detect_property,
                                                      1);
+                       drm_connector_attach_property(&radeon_connector->base,
+                                                     rdev->mode_info.tv_std_property,
+                                                     1);
                }
                break;
        case DRM_MODE_CONNECTOR_LVDS:
@@ -1193,6 +1196,9 @@ radeon_add_legacy_connector(struct drm_device *dev,
                        drm_connector_attach_property(&radeon_connector->base,
                                                      rdev->mode_info.load_detect_property,
                                                      1);
+                       drm_connector_attach_property(&radeon_connector->base,
+                                                     rdev->mode_info.tv_std_property,
+                                                     1);
                }
                break;
        case DRM_MODE_CONNECTOR_LVDS: