File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -304,9 +304,9 @@ void r600_audio_set_dto(struct drm_encoder *encoder, u32 clock)
304304 WREG32 (DCCG_AUDIO_DTO1_MODULE , dto_modulo );
305305 WREG32 (DCCG_AUDIO_DTO_SELECT , 1 ); /* select DTO1 */
306306 }
307- } else if ( ASIC_IS_DCE3 ( rdev )) {
307+ } else {
308308 /* according to the reg specs, this should DCE3.2 only, but in
309- * practice it seems to cover DCE3 .0/3.1 as well.
309+ * practice it seems to cover DCE2.0/3 .0/3.1 as well.
310310 */
311311 if (dig -> dig_encoder == 0 ) {
312312 WREG32 (DCCG_AUDIO_DTO0_PHASE , base_rate * 100 );
@@ -317,10 +317,6 @@ void r600_audio_set_dto(struct drm_encoder *encoder, u32 clock)
317317 WREG32 (DCCG_AUDIO_DTO1_MODULE , clock * 100 );
318318 WREG32 (DCCG_AUDIO_DTO_SELECT , 1 ); /* select DTO1 */
319319 }
320- } else {
321- /* according to the reg specs, this should be DCE2.0 and DCE3.0/3.1 */
322- WREG32 (AUDIO_DTO , AUDIO_DTO_PHASE (base_rate / 10 ) |
323- AUDIO_DTO_MODULE (clock / 10 ));
324320 }
325321}
326322
You can’t perform that action at this time.
0 commit comments