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)
commita2098250fbda149cfad9e626afe80abe3b21e574
tree4665435ea53e688cb0e3955860ef3674105fe4b3
parent3e71985f2439d8c4090dc2820e497e6f3d72dcff
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