[Intel-gfx] [PATCH 1/4] drm/edid: add helper function to detect monitor audio capability
Zhenyu Wang
zhenyuw at linux.intel.com
Sun Sep 19 00:56:36 PDT 2010
On 2010.09.19 08:38:07 +0100, Chris Wilson wrote:
>
> This should be cc'ed for Adam Jackson's attention as well.
yep, I think I cc-ed ajax in git-send-mail command line...I'll amend the commit.
> > +bool drm_detect_monitor_audio(struct edid *edid)
>
> drm_edid_has_monitor_audio()? That is a little more self-descriptive.
> (I also think drm_detect_hdmi_monitor is poorly named.)
yeah, that looks better. thanks.
> The last time Adam had a chance to comment on this EDID check, he
> suggested that we cannot rely on has_audio being a reliable indicator of
> the sink's properties. If the EDID has no audio support, then return
> early, otherwise perform the secondary check that extension block contains
> audio data.
That's also the problem we stuck for quite some time, and until recently
we got reply on this issue. Adam is right, 'basic audio' bit might not be
reliable, so we try to search audio block too, if there's any existence,
we will accept 'basic audio' support as well.
Thanks for the review!
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100919/31bf312a/attachment.pgp>
More information about the dri-devel
mailing list