aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-09-24 21:56:50 -0400
committerDave Airlie <airlied@linux.ie>2009-09-24 23:08:18 -0400
commit35e4b7af21d77933abda3d41d1672589eb6c960c (patch)
tree7a4eebeba137377e0027ae351196ae0acefc9b64 /drivers
parent4bbd4973703bf8a5f00f05eff30a99cd9814f37f (diff)
drm/radeon/kms: enable dac load detection by default.
when I added the property I forgot to enable it. Thanks to soreau on #radeon for tracking it down. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/radeon/radeon_connectors.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/radeon_connectors.c
index af1d551f1a8f..f8cb8b4e2b17 100644
--- a/drivers/gpu/drm/radeon/radeon_connectors.c
+++ b/drivers/gpu/drm/radeon/radeon_connectors.c
@@ -802,6 +802,7 @@ radeon_add_atom_connector(struct drm_device *dev,
802 if (!radeon_connector->ddc_bus) 802 if (!radeon_connector->ddc_bus)
803 goto failed; 803 goto failed;
804 } 804 }
805 radeon_connector->dac_load_detect = true;
805 drm_connector_attach_property(&radeon_connector->base, 806 drm_connector_attach_property(&radeon_connector->base,
806 rdev->mode_info.load_detect_property, 807 rdev->mode_info.load_detect_property,
807 1); 808 1);
@@ -814,6 +815,7 @@ radeon_add_atom_connector(struct drm_device *dev,
814 if (!radeon_connector->ddc_bus) 815 if (!radeon_connector->ddc_bus)
815 goto failed; 816 goto failed;
816 } 817 }
818 radeon_connector->dac_load_detect = true;
817 drm_connector_attach_property(&radeon_connector->base, 819 drm_connector_attach_property(&radeon_connector->base,
818 rdev->mode_info.load_detect_property, 820 rdev->mode_info.load_detect_property,
819 1); 821 1);
@@ -837,6 +839,7 @@ radeon_add_atom_connector(struct drm_device *dev,
837 drm_connector_attach_property(&radeon_connector->base, 839 drm_connector_attach_property(&radeon_connector->base,
838 rdev->mode_info.coherent_mode_property, 840 rdev->mode_info.coherent_mode_property,
839 1); 841 1);
842 radeon_connector->dac_load_detect = true;
840 drm_connector_attach_property(&radeon_connector->base, 843 drm_connector_attach_property(&radeon_connector->base,
841 rdev->mode_info.load_detect_property, 844 rdev->mode_info.load_detect_property,
842 1); 845 1);
@@ -884,6 +887,7 @@ radeon_add_atom_connector(struct drm_device *dev,
884 drm_connector_init(dev, &radeon_connector->base, &radeon_tv_connector_funcs, connector_type); 887 drm_connector_init(dev, &radeon_connector->base, &radeon_tv_connector_funcs, connector_type);
885 drm_connector_helper_add(&radeon_connector->base, &radeon_tv_connector_helper_funcs); 888 drm_connector_helper_add(&radeon_connector->base, &radeon_tv_connector_helper_funcs);
886 } 889 }
890 radeon_connector->dac_load_detect = true;
887 drm_connector_attach_property(&radeon_connector->base, 891 drm_connector_attach_property(&radeon_connector->base,
888 rdev->mode_info.load_detect_property, 892 rdev->mode_info.load_detect_property,
889 1); 893 1);
@@ -963,6 +967,7 @@ radeon_add_legacy_connector(struct drm_device *dev,
963 if (!radeon_connector->ddc_bus) 967 if (!radeon_connector->ddc_bus)
964 goto failed; 968 goto failed;
965 } 969 }
970 radeon_connector->dac_load_detect = true;
966 drm_connector_attach_property(&radeon_connector->base, 971 drm_connector_attach_property(&radeon_connector->base,
967 rdev->mode_info.load_detect_property, 972 rdev->mode_info.load_detect_property,
968 1); 973 1);
@@ -975,6 +980,7 @@ radeon_add_legacy_connector(struct drm_device *dev,
975 if (!radeon_connector->ddc_bus) 980 if (!radeon_connector->ddc_bus)
976 goto failed; 981 goto failed;
977 } 982 }
983 radeon_connector->dac_load_detect = true;
978 drm_connector_attach_property(&radeon_connector->base, 984 drm_connector_attach_property(&radeon_connector->base,
979 rdev->mode_info.load_detect_property, 985 rdev->mode_info.load_detect_property,
980 1); 986 1);
@@ -987,6 +993,7 @@ radeon_add_legacy_connector(struct drm_device *dev,
987 radeon_connector->ddc_bus = radeon_i2c_create(dev, i2c_bus, "DVI"); 993 radeon_connector->ddc_bus = radeon_i2c_create(dev, i2c_bus, "DVI");
988 if (!radeon_connector->ddc_bus) 994 if (!radeon_connector->ddc_bus)
989 goto failed; 995 goto failed;
996 radeon_connector->dac_load_detect = true;
990 drm_connector_attach_property(&radeon_connector->base, 997 drm_connector_attach_property(&radeon_connector->base,
991 rdev->mode_info.load_detect_property, 998 rdev->mode_info.load_detect_property,
992 1); 999 1);
@@ -999,6 +1006,7 @@ radeon_add_legacy_connector(struct drm_device *dev,
999 if (radeon_tv == 1) { 1006 if (radeon_tv == 1) {
1000 drm_connector_init(dev, &radeon_connector->base, &radeon_tv_connector_funcs, connector_type); 1007 drm_connector_init(dev, &radeon_connector->base, &radeon_tv_connector_funcs, connector_type);
1001 drm_connector_helper_add(&radeon_connector->base, &radeon_tv_connector_helper_funcs); 1008 drm_connector_helper_add(&radeon_connector->base, &radeon_tv_connector_helper_funcs);
1009 radeon_connector->dac_load_detect = true;
1002 drm_connector_attach_property(&radeon_connector->base, 1010 drm_connector_attach_property(&radeon_connector->base,
1003 rdev->mode_info.load_detect_property, 1011 rdev->mode_info.load_detect_property,
1004 1); 1012 1);