aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSonika Jindal <sonika.jindal@intel.com>2014-07-22 01:48:27 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-07-23 01:05:45 -0400
commit7a1db49af64e1b622a1d155f6b375439337cc355 (patch)
treedb7077b5ccac42e54fc5f8066b666b18b6acb528
parentf227ae9e7692b2dbb4a7d868cdcbdbfee9dffc6d (diff)
drm/i915: Setting legacy palette correctly for different platforms
v2: Adding !HAS_GMCH_DISPLAY(dev) Signed-off-by: Sonika Jindal <sonika.jindal@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--drivers/gpu/drm/i915/intel_display.c2
1 files changed, 1 insertions, 1 deletions
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)
3847 } 3847 }
3848 3848
3849 /* use legacy palette for Ironlake */ 3849 /* use legacy palette for Ironlake */
3850 if (HAS_PCH_SPLIT(dev)) 3850 if (!HAS_GMCH_DISPLAY(dev))
3851 palreg = LGC_PALETTE(pipe); 3851 palreg = LGC_PALETTE(pipe);
3852 3852
3853 /* Workaround : Do not read or write the pipe palette/gamma data while 3853 /* Workaround : Do not read or write the pipe palette/gamma data while