Signed-off-by: Jeff Smith <whydo...@gmail.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c index 8d1cf2d..b487aa0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c @@ -1651,12 +1651,12 @@ amdgpu_connector_add(struct amdgpu_device *adev, drm_object_attach_property(&amdgpu_connector->base.base, adev->mode_info.dither_property, AMDGPU_FMT_DITHER_DISABLE); - - if (amdgpu_audio != 0) + if (amdgpu_audio != 0) { + amdgpu_connector->audio = AMDGPU_AUDIO_AUTO; drm_object_attach_property(&amdgpu_connector->base.base, adev->mode_info.audio_property, AMDGPU_AUDIO_AUTO); - + } subpixel_order = SubPixelHorizontalRGB; connector->interlace_allowed = true; if (connector_type == DRM_MODE_CONNECTOR_HDMIB) @@ -1755,8 +1755,8 @@ amdgpu_connector_add(struct amdgpu_device *adev, drm_object_attach_property(&amdgpu_connector->base.base, dev->mode_config.scaling_mode_property, DRM_MODE_SCALE_NONE); - if (amdgpu_audio != 0) { + amdgpu_connector->audio = AMDGPU_AUDIO_AUTO; drm_object_attach_property(&amdgpu_connector->base.base, adev->mode_info.audio_property, AMDGPU_AUDIO_AUTO); @@ -1805,6 +1805,7 @@ amdgpu_connector_add(struct amdgpu_device *adev, dev->mode_config.scaling_mode_property, DRM_MODE_SCALE_NONE); if (amdgpu_audio != 0) { + amdgpu_connector->audio = AMDGPU_AUDIO_AUTO; drm_object_attach_property(&amdgpu_connector->base.base, adev->mode_info.audio_property, AMDGPU_AUDIO_AUTO); @@ -1850,6 +1851,7 @@ amdgpu_connector_add(struct amdgpu_device *adev, dev->mode_config.scaling_mode_property, DRM_MODE_SCALE_NONE); if (amdgpu_audio != 0) { + amdgpu_connector->audio = AMDGPU_AUDIO_AUTO; drm_object_attach_property(&amdgpu_connector->base.base, adev->mode_info.audio_property, AMDGPU_AUDIO_AUTO); -- 2.9.3 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel