Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a1db49a authored by Sonika Jindal's avatar Sonika Jindal Committed by Daniel Vetter
Browse files

drm/i915: Setting legacy palette correctly for different platforms



v2: Adding !HAS_GMCH_DISPLAY(dev)

Signed-off-by: default avatarSonika Jindal <sonika.jindal@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent f227ae9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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