]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drm/i915: don't check plane vs pipe enable on ILK+
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 2 Feb 2011 20:28:02 +0000 (12:28 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 7 Feb 2011 12:06:13 +0000 (12:06 +0000)
These bits have a different meaning on ILK+, where planes are hardwired
to pipes.  Fixing this avoid some spurious assertion failures.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c

index b5f7acf5a9dbccf862bfa953827193e58c0e24fb..b14d88d841ee19e456eac94b997eaabc29a9f89f 100644 (file)
@@ -1225,6 +1225,10 @@ static void assert_planes_disabled(struct drm_i915_private *dev_priv,
        u32 val;
        int cur_pipe;
 
+       /* Planes are fixed to pipes on ILK+ */
+       if (HAS_PCH_SPLIT(dev_priv->dev))
+               return;
+
        /* Need to check both planes against the pipe */
        for (i = 0; i < 2; i++) {
                reg = DSPCNTR(i);