OSDN Git Service

drm/radeon/dce2: use 10khz units for audio dto calculation
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2013 15:35:26 +0000 (11:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 May 2013 14:44:58 +0000 (10:44 -0400)
commit731da21b7b205efb388481f7a9731c4c1ca3b48c
treed5067d8752d7d5f29213168a589d025d3b7100e7
parentfc986034540102cd090237bf3f70262e1ae80d9c
drm/radeon/dce2: use 10khz units for audio dto calculation

Avoids overflows on DCE2.x devices. Also clarify the calculation
on other asics.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/evergreen_hdmi.c
drivers/gpu/drm/radeon/r600_hdmi.c