]> git.ipfire.org Git - people/ms/linux.git/commit
drm/radeon/audio: improve ACR calculation
authorPierre Ossman <pierre@ossman.eu>
Wed, 6 Nov 2013 19:09:08 +0000 (20:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Dec 2013 15:29:17 +0000 (07:29 -0800)
commite610724c69a3445f399d20a12f6cd218ad153ed0
tree87f59060d1197c61fd1715eb04a64f1a19eebbf1
parentf47be34aa63fbea1a3857f9e8be5619bded8e5cf
drm/radeon/audio: improve ACR calculation

commit a2098250fbda149cfad9e626afe80abe3b21e574 upstream.

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>
Cc: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/r600_hdmi.c