]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: add a connector property for audio
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Sep 2013 18:58:44 +0000 (14:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:25 +0000 (11:44 -0400)
commita3fa34623e1d08f0b90855b25d5d7011a6e4b0ee
treee19ba874375dab572c92a61c1ce1c048d23762d6
parente721f562861ce90b1600ab33ff885781b7b4ac48
drm/radeon: add a connector property for audio

This provides a connector property to enable/disable hdmi
audio on the fly.  The default is disabled, but you can select
auto (let the driver detect an audio capable monitor and enable it)
or enabled (force audio enabled).  This also enables audio by
default so you no longer need a module parameter to enable audio.

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