drm/edid: add helper function to detect monitor audio capability
authorZhenyu Wang <zhenyuw@linux.intel.com>
Sun, 19 Sep 2010 06:27:28 +0000 (14:27 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Oct 2010 08:17:32 +0000 (09:17 +0100)
commit8fe9790d1652e7c306c862ea102a5e6126b412e1
treeb3cdc7c842eef61efbdd63f791a210aa524df89f
parent6d139a87b747aaebc969ac5f4eb8db766fcd9cbd
drm/edid: add helper function to detect monitor audio capability

To help to determine if digital display port needs to enable
audio output or not. This one adds a helper to get monitor's
audio capability via EDID CEA extension block.

Tested-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/drm_edid.c
include/drm/drm_crtc.h