Commit ad415506 authored by Alex Deucher's avatar Alex Deucher

drm/radeon: enable hdmi audio by default

Seems to be stable enough for the majority of users.
It can be disabled on the fly via connector attributes.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 10ebc0bc
...@@ -1722,7 +1722,7 @@ radeon_add_atom_connector(struct drm_device *dev, ...@@ -1722,7 +1722,7 @@ radeon_add_atom_connector(struct drm_device *dev,
0); 0);
drm_object_attach_property(&radeon_connector->base.base, drm_object_attach_property(&radeon_connector->base.base,
rdev->mode_info.audio_property, rdev->mode_info.audio_property,
RADEON_AUDIO_DISABLE); RADEON_AUDIO_AUTO);
drm_object_attach_property(&radeon_connector->base.base, drm_object_attach_property(&radeon_connector->base.base,
rdev->mode_info.dither_property, rdev->mode_info.dither_property,
RADEON_FMT_DITHER_DISABLE); RADEON_FMT_DITHER_DISABLE);
...@@ -1822,7 +1822,7 @@ radeon_add_atom_connector(struct drm_device *dev, ...@@ -1822,7 +1822,7 @@ radeon_add_atom_connector(struct drm_device *dev,
if (ASIC_IS_DCE2(rdev)) { if (ASIC_IS_DCE2(rdev)) {
drm_object_attach_property(&radeon_connector->base.base, drm_object_attach_property(&radeon_connector->base.base,
rdev->mode_info.audio_property, rdev->mode_info.audio_property,
RADEON_AUDIO_DISABLE); RADEON_AUDIO_AUTO);
} }
if (ASIC_IS_AVIVO(rdev)) { if (ASIC_IS_AVIVO(rdev)) {
drm_object_attach_property(&radeon_connector->base.base, drm_object_attach_property(&radeon_connector->base.base,
...@@ -1872,7 +1872,7 @@ radeon_add_atom_connector(struct drm_device *dev, ...@@ -1872,7 +1872,7 @@ radeon_add_atom_connector(struct drm_device *dev,
if (ASIC_IS_DCE2(rdev)) { if (ASIC_IS_DCE2(rdev)) {
drm_object_attach_property(&radeon_connector->base.base, drm_object_attach_property(&radeon_connector->base.base,
rdev->mode_info.audio_property, rdev->mode_info.audio_property,
RADEON_AUDIO_DISABLE); RADEON_AUDIO_AUTO);
} }
if (ASIC_IS_AVIVO(rdev)) { if (ASIC_IS_AVIVO(rdev)) {
drm_object_attach_property(&radeon_connector->base.base, drm_object_attach_property(&radeon_connector->base.base,
...@@ -1921,7 +1921,7 @@ radeon_add_atom_connector(struct drm_device *dev, ...@@ -1921,7 +1921,7 @@ radeon_add_atom_connector(struct drm_device *dev,
if (ASIC_IS_DCE2(rdev)) { if (ASIC_IS_DCE2(rdev)) {
drm_object_attach_property(&radeon_connector->base.base, drm_object_attach_property(&radeon_connector->base.base,
rdev->mode_info.audio_property, rdev->mode_info.audio_property,
RADEON_AUDIO_DISABLE); RADEON_AUDIO_AUTO);
} }
if (ASIC_IS_AVIVO(rdev)) { if (ASIC_IS_AVIVO(rdev)) {
drm_object_attach_property(&radeon_connector->base.base, drm_object_attach_property(&radeon_connector->base.base,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment