[Intel-gfx] G45 user experience
Zhenyu Wang
zhenyu.z.wang at intel.com
Tue Nov 11 06:47:27 CET 2008
On 2008.11.11 12:16:00 +0800, Shane W wrote:
> On Tue, Nov 11, 2008 at 10:32:40AM +0800, Fu Michael wrote:
> > Do you have any HDMI sink device that can support 5.1 or 7.1 audio? I'm
> > looking for those kind of devices as well...
>
> I'm not really sure what you mean by HDMI sink but my
> receiver which connects to the G45 does support 5.1 and 7.1
> HDMI decoding along with TRUEHD, DTSHD and DSD so I can
> certainly test anything that comes down the pipe as far as
> patches go.
>
> By the way, had a bit more time to test out these HDMI sync
> xorg patches. Under mplayer, after playing audio for about
> 10 or so minutes with a video stream, the audio starts to
> drop out and then stops altogether. Stopping and starting
> mplayer doesn't fix it, stopping mplayer and playing a wav
> via aplay gives silence. Stopping Xorg does correct it and
> once Xorg is restarted, it'll run with video for another 10
> or so minutes and stop again. This is using Saturday's GIT
> on ALSA, Xorg and Intel with the IALSA Intel hdmi patch,
> and the HDMI patches for Xorg and the Intel driver applied.
>
Looks like DPMS related? How about this patch on top of Fengguang's series?
From 8ca1ce6631ac68d06fbf83a9ab7a055b2f9c7be8 Mon Sep 17 00:00:00 2001
From: Zhenyu Wang <zhenyu.z.wang at intel.com>
Date: Tue, 11 Nov 2008 13:43:05 +0800
Subject: [PATCH] HDMI: check/set audio state in DPMS function too
---
src/i830_hdmi.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/i830_hdmi.c b/src/i830_hdmi.c
index 91d30f3..ca6d910 100644
--- a/src/i830_hdmi.c
+++ b/src/i830_hdmi.c
@@ -102,9 +102,14 @@ i830_hdmi_dpms(xf86OutputPtr output, int mode)
if (mode == DPMSModeOff) {
temp = INREG(dev_priv->output_reg);
+ /* disable audio too */
+ temp &= ~SDVO_AUDIO_ENABLE;
OUTREG(dev_priv->output_reg, temp & ~SDVO_ENABLE);
} else {
temp = INREG(dev_priv->output_reg);
+ /* enable audio too */
+ if (dev_priv->has_hdmi_sink)
+ temp |= SDVO_AUDIO_ENABLE;
OUTREG(dev_priv->output_reg, temp | SDVO_ENABLE);
}
}
--
1.5.4
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081111/0df85f5a/attachment.sig>
More information about the Intel-gfx
mailing list