drm/i915: Set csc coefficients in update_pipe_size.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 27 Aug 2015 13:44:02 +0000 (15:44 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Sep 2015 07:51:03 +0000 (09:51 +0200)
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: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index 62573d5595fa743468bf530762e2c0284ce6cddd..19049198364aa6a0e6d2d6e29b75a86f4d8d0942 100644 (file)
@@ -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