drm/i915: add a "force-dvi" HDMI audio mode
authorWu Fengguang <fengguang.wu@intel.com>
Tue, 14 Feb 2012 03:45:36 +0000 (11:45 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Feb 2012 09:03:18 +0000 (10:03 +0100)
When HDMI-DVI converter is used, it's not only necessary to turn off
audio, but also to disable HDMI_MODE_SELECT and video infoframe. Since
the DVI mode is mainly tied to audio functionality from end user POV,
add a new "force-dvi" audio mode:

xrandr --output HDMI1 --set audio force-dvi

Note that most users won't need to set this and happily rely on the EDID
based DVI auto detection.

Reported-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found