From: Sonika Jindal Date: Tue, 22 Jul 2014 05:48:27 +0000 (+0530) Subject: drm/i915: Setting legacy palette correctly for different platforms X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7a1db49af64e1b622a1d155f6b375439337cc355;p=linux-beck.git drm/i915: Setting legacy palette correctly for different platforms v2: Adding !HAS_GMCH_DISPLAY(dev) Signed-off-by: Sonika Jindal Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 2df686064bda..fea68f33aaff 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -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