]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
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 30293bec08013fae85ca294ff33c2c42dac3bfe8..fed7b8084779e0b5a4736fc79a612a9db4841ee1 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