mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 15:20:41 +00:00
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: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
fd1ee4cc93
commit
44522d852f
1 changed files with 3 additions and 0 deletions
|
@ -3274,6 +3274,9 @@ static void intel_update_pipe_size(struct intel_crtc *crtc)
|
||||||
if (!i915.fastboot)
|
if (!i915.fastboot)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (HAS_DDI(dev))
|
||||||
|
intel_set_pipe_csc(&crtc->base);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Update pipe size and adjust fitter if needed: the reason for this is
|
* 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
|
* that in compute_mode_changes we check the native mode (not the pfit
|
||||||
|
|
Loading…
Reference in a new issue