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

Commit 44522d85 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Daniel Vetter
Browse files

drm/i915: Set csc coefficients in update_pipe_size.



This might not have been set during boot, and when we preserve
the initial mode this can result in a black screen.

Cc: Daniel Stone <daniels@collabora.com>
Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent fd1ee4cc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3274,6 +3274,9 @@ static void intel_update_pipe_size(struct intel_crtc *crtc)
	if (!i915.fastboot)
		return;

	if (HAS_DDI(dev))
		intel_set_pipe_csc(&crtc->base);

	/*
	 * Update pipe size and adjust fitter if needed: the reason for this is
	 * that in compute_mode_changes we check the native mode (not the pfit