drm/radeon/kms/evergreen: No EnableYUV table
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 23 Apr 2010 06:26:55 +0000 (02:26 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 23 Apr 2010 06:31:33 +0000 (16:31 +1000)
DCE4 cards don't have an EnableYUV table.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_encoders.c

index 30293be..fed7b80 100644 (file)
@@ -1326,7 +1326,7 @@ radeon_atom_encoder_mode_set(struct drm_encoder *encoder,
 
        radeon_encoder->pixel_clock = adjusted_mode->clock;
 
-       if (ASIC_IS_AVIVO(rdev)) {
+       if (ASIC_IS_AVIVO(rdev) && !ASIC_IS_DCE4(rdev)) {
                if (radeon_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT | ATOM_DEVICE_TV_SUPPORT))
                        atombios_yuv_setup(encoder, true);
                else