drm/radeon: cleaned up VCO output settings for DP audio
This is preparation for the fixes in the following patches. Signed-off-by: Slava Grigorev <slava.grigorev@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
This commit is contained in:

committed by
Alex Deucher

parent
08b21d30c6
commit
c9a392eac1
@@ -315,7 +315,7 @@ void dce6_dp_audio_set_dto(struct radeon_device *rdev,
|
||||
div = 0;
|
||||
|
||||
if (div)
|
||||
clock = rdev->clock.gpupll_outputfreq * 10 / div;
|
||||
clock /= div;
|
||||
|
||||
WREG32(DCE8_DCCG_AUDIO_DTO1_PHASE, 24000);
|
||||
WREG32(DCE8_DCCG_AUDIO_DTO1_MODULE, clock);
|
||||
|
Reference in New Issue
Block a user