drm/radeon: fix audio dto calculation on DCE3+ (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Jul 2013 21:31:07 +0000 (17:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Aug 2013 21:37:13 +0000 (17:37 -0400)
commit1518dd8efd47918bb269f1470030592875953f6c
treeccc676f40b8c16c71c357a6dfc35097c047d89a1
parentce149a9406c104e7a361afae18a13d4eaa5c2429
drm/radeon: fix audio dto calculation on DCE3+ (v3)

Need to set the wallclock ratio and adjust the phase
and module registers appropriately.  May fix problems
with audio timing at certain display timings.

v2: properly handle clocks below 24mhz
v3: rebase r600 changes

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen_hdmi.c
drivers/gpu/drm/radeon/evergreend.h
drivers/gpu/drm/radeon/r600_hdmi.c
drivers/gpu/drm/radeon/r600d.h