Skip to content

Commit

Permalink
drm/i915: Set csc coefficients in update_pipe_size.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maarten Lankhorst authored and Daniel Vetter committed Sep 14, 2015
1 parent fd1ee4c commit 44522d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44522d8

Please sign in to comment.