]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i2c: tda998x: only configure infoframes and audio if supported
authorRussell King <rmk+kernel@armlinux.org.uk>
Sun, 23 Oct 2016 10:32:42 +0000 (11:32 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 18 Nov 2016 00:00:40 +0000 (00:00 +0000)
commit744bded8be0b412dce8c963d61c929600f52d218
tree09469dc42941348cbef7274a41c0230bb43148c9
parentf25b3abb1da65b7654d474058735c2d31b5b82ac
drm/i2c: tda998x: only configure infoframes and audio if supported

The CEA 861B specification indicates the situations when we are able to
send each infoframe based on the version of the EDID's CEA extension.
Update the tda998x driver to follow the CEA specification wrt sending
of infoframes.

Since we only support the generation of AVI version 2, this limits us
to CEA extension version 3, so we treat CEA extension version 2 as
CEA 861 (no infoframes, no audio.)

Tested-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Jon Medhurst <tixy@linaro.org>
Acked-by: Jon Medhurst <tixy@linaro.org>
Tested-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c