]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: Setting legacy palette correctly for different platforms
authorSonika Jindal <sonika.jindal@intel.com>
Tue, 22 Jul 2014 05:48:27 +0000 (11:18 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Jul 2014 05:05:45 +0000 (07:05 +0200)
v2: Adding !HAS_GMCH_DISPLAY(dev)

Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index 2df686064bda1915868c769fbb084f5571a189ae..fea68f33aaffb6a56fc520a089397074fb2b3b8e 100644 (file)
@@ -3847,7 +3847,7 @@ static void intel_crtc_load_lut(struct drm_crtc *crtc)
        }
 
        /* use legacy palette for Ironlake */
-       if (HAS_PCH_SPLIT(dev))
+       if (!HAS_GMCH_DISPLAY(dev))
                palreg = LGC_PALETTE(pipe);
 
        /* Workaround : Do not read or write the pipe palette/gamma data while