[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52F23D1D.7040804@metafoo.de>
Date: Wed, 05 Feb 2014 14:31:09 +0100
From: Lars-Peter Clausen <lars@...afoo.de>
To: Mark Brown <broonie@...nel.org>
CC: Jean-Francois Moine <moinejf@...e.fr>, alsa-devel@...a-project.org,
Russell King - ARM Linux <linux@....linux.org.uk>,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
Rob Clark <robdclark@...il.com>,
Dave Airlie <airlied@...il.com>,
linux-arm-kernel@...ts.infradead.org, Takashi Iwai <tiwai@...e.de>
Subject: Re: [alsa-devel] [PATCH v3 4/5] ASoC: tda998x: adjust the audio hw
parameters from EDID
On 02/05/2014 12:18 PM, Mark Brown wrote:
> On Wed, Feb 05, 2014 at 10:19:22AM +0100, Lars-Peter Clausen wrote:
[..]
>> Bonus points for making this a generic helper function that takes a
>> runtime and a EDID and then applies the EDID constraints on the
>> runtime.
>
> ...as previously requested. I know there was some discusion of broader
> moves to factor this stuff out but it'd still be good to keep it
> separated out even prior to a final non-EDID based solution so it's
> easier to refactor.
I think it will always be EDID (or ELD) based. As I understood it the
re-factoring Takashi was talking about is related to how this data is passed
from the graphics driver to the audio driver. The way things work right now
in HDA land is that the graphics driver reads the EDID from the monitor,
converts it to ELD and writes it to a special memory region in the graphics
controller. This generates an interrupt in the audio driver and the audio
driver reads the ELD from the hardware and sets up the constraints based on
that. And I think that the plan is to change this to pass the EDID directly
from the graphics driver to the audio driver without taking the detour
through the hardware. This is what we'll need for embedded systems anyway. A
system that allows to associate a sound driver with a specific HDMI port and
status updates for that port, e.g. new EDID or cable connected/disconnected
are passed from the graphics driver handling that port to the audio driver.
- Lars
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists