drm, gma500: Fix Cedarview boot failures in 3.3-rc
[linux-2.6.git] / drivers / gpu / drm / gma500 / cdv_device.c
index 7e8028a..53404af 100644 (file)
@@ -321,15 +321,18 @@ static int cdv_chip_setup(struct drm_device *dev)
        cdv_get_core_freq(dev);
        gma_intel_opregion_init(dev);
        psb_intel_init_bios(dev);
+       REG_WRITE(PORT_HOTPLUG_EN, 0);
+       REG_WRITE(PORT_HOTPLUG_STAT, REG_READ(PORT_HOTPLUG_STAT));
        return 0;
 }
 
 /* CDV is much like Poulsbo but has MID like SGX offsets and PM */
 
 const struct psb_ops cdv_chip_ops = {
-       .name = "Cedartrail",
+       .name = "GMA3600/3650",
        .accel_2d = 0,
        .pipes = 2,
+       .crtcs = 2,
        .sgx_offset = MRST_SGX_OFFSET,
        .chip_setup = cdv_chip_setup,