drm/radeon/kms: Add quirk for HIS X1300 board
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 1 Dec 2009 19:49:50 +0000 (14:49 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Dec 2009 00:31:53 +0000 (10:31 +1000)
Board is DVI+VGA, not DVI+DVI

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

index 2dfb79defb504052da030038feedb8e70af895fa..0802b30879d988253a257e6d62bbefcbd4ea0f95 100644 (file)
@@ -135,6 +135,14 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev,
                }
        }
 
+       /* HIS X1300 is DVI+VGA, not DVI+DVI */
+       if ((dev->pdev->device == 0x7146) &&
+           (dev->pdev->subsystem_vendor == 0x17af) &&
+           (dev->pdev->subsystem_device == 0x2058)) {
+               if (supported_device == ATOM_DEVICE_DFP1_SUPPORT)
+                       return false;
+       }
+
        /* Funky macbooks */
        if ((dev->pdev->device == 0x71C5) &&
            (dev->pdev->subsystem_vendor == 0x106b) &&