]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'drm-intel/for-linux-next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 03:30:27 +0000 (13:30 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 03:30:27 +0000 (13:30 +1000)
Conflicts:
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_fb.c
drivers/gpu/drm/i915/intel_sdvo.c

1  2 
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_fb.c
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_sdvo.c

Simple merge
Simple merge
Simple merge
Simple merge
index 6eb99e13c37d03b86325e5e5a24fb70f0c2c1503,961cb8385650da9194f54c4cc750e57f497d2b4d..83f30fad65b9a92e613e1c9666e99248d57b30c9
@@@ -8177,11 -8240,14 +8240,19 @@@ check_crtc_state(struct drm_device *dev
  
                active = dev_priv->display.get_pipe_config(crtc,
                                                           &pipe_config);
 +
 +              /* hw state is inconsistent with the pipe A quirk */
 +              if (crtc->pipe == PIPE_A && dev_priv->quirks & QUIRK_PIPEA_FORCE)
 +                      active = crtc->active;
 +
+               list_for_each_entry(encoder, &dev->mode_config.encoder_list,
+                                   base.head) {
+                       if (encoder->base.crtc != &crtc->base)
+                               continue;
+                       if (encoder->get_config)
+                               encoder->get_config(encoder, &pipe_config);
+               }
                WARN(crtc->active != active,
                     "crtc active state doesn't match with hw state "
                     "(expected %i, found %i)\n", crtc->active, active);
Simple merge
index 3b03c3c6cc5d410197082c6fbd2d897c952032f6,244060ad354bcb12b18eb018a11b1de23111cfc4..dff669e2387f4e5aa8fd84433935e4603ec43992
@@@ -291,7 -292,9 +292,7 @@@ void intel_fb_output_poll_changed(struc
  void intel_fb_restore_mode(struct drm_device *dev)
  {
        int ret;
-       drm_i915_private_t *dev_priv = dev->dev_private;
+       struct drm_i915_private *dev_priv = dev->dev_private;
 -      struct drm_mode_config *config = &dev->mode_config;
 -      struct drm_plane *plane;
  
        if (INTEL_INFO(dev)->num_pipes == 0)
                return;
Simple merge
index c5584193770522b2d9e0ec9bc4daceea46f3a954,b8e1623be30d57a70570536f4f7aa2d1a771c712..2628d56224499307cffa4e409a646122a9578db0
@@@ -2848,18 -2889,12 +2889,6 @@@ bool intel_sdvo_init(struct drm_device 
                }
        }
  
-       hotplug_mask = 0;
-       if (IS_G4X(dev)) {
-               hotplug_mask = intel_sdvo->is_sdvob ?
-                       SDVOB_HOTPLUG_INT_STATUS_G4X : SDVOC_HOTPLUG_INT_STATUS_G4X;
-       } else if (IS_GEN4(dev)) {
-               hotplug_mask = intel_sdvo->is_sdvob ?
-                       SDVOB_HOTPLUG_INT_STATUS_I965 : SDVOC_HOTPLUG_INT_STATUS_I965;
-       } else {
-               hotplug_mask = intel_sdvo->is_sdvob ?
-                       SDVOB_HOTPLUG_INT_STATUS_I915 : SDVOC_HOTPLUG_INT_STATUS_I915;
-       }
 -      /* Only enable the hotplug irq if we need it, to work around noisy
 -       * hotplug lines.
 -       */
 -      if (intel_sdvo->hotplug_active)
 -              intel_encoder->hpd_pin = HPD_SDVO_B ? HPD_SDVO_B : HPD_SDVO_C;
--
        intel_encoder->compute_config = intel_sdvo_compute_config;
        intel_encoder->disable = intel_disable_sdvo;
        intel_encoder->mode_set = intel_sdvo_mode_set;