drm/radeon: enable hdmi audio by default
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Sep 2013 17:11:18 +0000 (13:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Nov 2013 16:43:15 +0000 (12:43 -0400)
Seems to be stable enough for the majority of users.
It can be disabled on the fly via connector attributes.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_connectors.c

index 5a74b173eb791e54b62334cdf47d9a461954f5f8..e972143e5a36c8611c4ca7ae8b9ea98cfaecd139 100644 (file)
@@ -1722,7 +1722,7 @@ radeon_add_atom_connector(struct drm_device *dev,
                                                      0);
                        drm_object_attach_property(&radeon_connector->base.base,
                                                   rdev->mode_info.audio_property,
-                                                  RADEON_AUDIO_DISABLE);
+                                                  RADEON_AUDIO_AUTO);
                        drm_object_attach_property(&radeon_connector->base.base,
                                                   rdev->mode_info.dither_property,
                                                   RADEON_FMT_DITHER_DISABLE);
@@ -1822,7 +1822,7 @@ radeon_add_atom_connector(struct drm_device *dev,
                        if (ASIC_IS_DCE2(rdev)) {
                                drm_object_attach_property(&radeon_connector->base.base,
                                                              rdev->mode_info.audio_property,
-                                                             RADEON_AUDIO_DISABLE);
+                                                             RADEON_AUDIO_AUTO);
                        }
                        if (ASIC_IS_AVIVO(rdev)) {
                                drm_object_attach_property(&radeon_connector->base.base,
@@ -1872,7 +1872,7 @@ radeon_add_atom_connector(struct drm_device *dev,
                        if (ASIC_IS_DCE2(rdev)) {
                                drm_object_attach_property(&radeon_connector->base.base,
                                                              rdev->mode_info.audio_property,
-                                                             RADEON_AUDIO_DISABLE);
+                                                             RADEON_AUDIO_AUTO);
                        }
                        if (ASIC_IS_AVIVO(rdev)) {
                                drm_object_attach_property(&radeon_connector->base.base,
@@ -1921,7 +1921,7 @@ radeon_add_atom_connector(struct drm_device *dev,
                        if (ASIC_IS_DCE2(rdev)) {
                                drm_object_attach_property(&radeon_connector->base.base,
                                                              rdev->mode_info.audio_property,
-                                                             RADEON_AUDIO_DISABLE);
+                                                             RADEON_AUDIO_AUTO);
                        }
                        if (ASIC_IS_AVIVO(rdev)) {
                                drm_object_attach_property(&radeon_connector->base.base,