Commit e31fadd3 authored by Alex Deucher's avatar Alex Deucher

drm/radeon: fix mismerge of drm-next with 3.12

Audio is enabled by default now.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 96212fe8
...@@ -1728,9 +1728,7 @@ radeon_add_atom_connector(struct drm_device *dev, ...@@ -1728,9 +1728,7 @@ radeon_add_atom_connector(struct drm_device *dev,
if (radeon_audio != 0) if (radeon_audio != 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 == 1) ? RADEON_AUDIO_AUTO);
RADEON_AUDIO_AUTO :
RADEON_AUDIO_DISABLE);
subpixel_order = SubPixelHorizontalRGB; subpixel_order = SubPixelHorizontalRGB;
connector->interlace_allowed = true; connector->interlace_allowed = true;
...@@ -1828,9 +1826,7 @@ radeon_add_atom_connector(struct drm_device *dev, ...@@ -1828,9 +1826,7 @@ radeon_add_atom_connector(struct drm_device *dev,
if (ASIC_IS_DCE2(rdev) && (radeon_audio != 0)) { if (ASIC_IS_DCE2(rdev) && (radeon_audio != 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 == 1) ? RADEON_AUDIO_AUTO);
RADEON_AUDIO_AUTO :
RADEON_AUDIO_DISABLE);
} }
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,
...@@ -1880,9 +1876,7 @@ radeon_add_atom_connector(struct drm_device *dev, ...@@ -1880,9 +1876,7 @@ radeon_add_atom_connector(struct drm_device *dev,
if (ASIC_IS_DCE2(rdev) && (radeon_audio != 0)) { if (ASIC_IS_DCE2(rdev) && (radeon_audio != 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 == 1) ? RADEON_AUDIO_AUTO);
RADEON_AUDIO_AUTO :
RADEON_AUDIO_DISABLE);
} }
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,
...@@ -1931,9 +1925,7 @@ radeon_add_atom_connector(struct drm_device *dev, ...@@ -1931,9 +1925,7 @@ radeon_add_atom_connector(struct drm_device *dev,
if (ASIC_IS_DCE2(rdev) && (radeon_audio != 0)) { if (ASIC_IS_DCE2(rdev) && (radeon_audio != 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 == 1) ? RADEON_AUDIO_AUTO);
RADEON_AUDIO_AUTO :
RADEON_AUDIO_DISABLE);
} }
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