|
@@ -1962,7 +1962,13 @@ atombios_apply_encoder_quirks(struct drm_encoder *encoder,
|
|
|
/* set scaler clears this on some chips */
|
|
|
if (ASIC_IS_AVIVO(rdev) &&
|
|
|
(!(radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)))) {
|
|
|
- if (ASIC_IS_DCE4(rdev)) {
|
|
|
+ if (ASIC_IS_DCE8(rdev)) {
|
|
|
+ if (mode->flags & DRM_MODE_FLAG_INTERLACE)
|
|
|
+ WREG32(CIK_LB_DATA_FORMAT + radeon_crtc->crtc_offset,
|
|
|
+ CIK_INTERLEAVE_EN);
|
|
|
+ else
|
|
|
+ WREG32(CIK_LB_DATA_FORMAT + radeon_crtc->crtc_offset, 0);
|
|
|
+ } else if (ASIC_IS_DCE4(rdev)) {
|
|
|
if (mode->flags & DRM_MODE_FLAG_INTERLACE)
|
|
|
WREG32(EVERGREEN_DATA_FORMAT + radeon_crtc->crtc_offset,
|
|
|
EVERGREEN_INTERLEAVE_EN);
|