]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/audio: improve ACR calculation
authorPierre Ossman <pierre@ossman.eu>
Wed, 6 Nov 2013 19:09:08 +0000 (20:09 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Nov 2013 18:06:33 +0000 (13:06 -0500)
commitcba3b6a147059ffff5e5df7cbd128682c1b72af1
tree4665435ea53e688cb0e3955860ef3674105fe4b3
parentf744e403be76f12289d24fe82f611acf8c7756bb
drm/radeon/audio: improve ACR calculation

In order to have any realistic chance of calculating proper
ACR values, we need to be able to calculate both N and CTS,
not just CTS. We still aim for the ideal N as specified in
the HDMI spec though.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=69675

Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r600_hdmi.c