From patchwork Thu Jul 23 13:25:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ander Conselvan de Oliveira X-Patchwork-Id: 6853711 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id ABE31C05AC for ; Thu, 23 Jul 2015 13:25:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C7E4820663 for ; Thu, 23 Jul 2015 13:25:49 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id EC1DB20641 for ; Thu, 23 Jul 2015 13:25:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5DD626E394; Thu, 23 Jul 2015 06:25:48 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6D1B26E394 for ; Thu, 23 Jul 2015 06:25:47 -0700 (PDT) Received: by pacan13 with SMTP id an13so159381271pac.1 for ; Thu, 23 Jul 2015 06:25:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; bh=gSug4QZveXkj4qgCnvw2M7ec4Wjbo7ptf+SsqZLT0mM=; b=e7m9U9tu+wC21nOFw1bMvKtIwEQlVxqomTOFbCXHgmDU0t+bAFxdr9EhM6CVG/It2u sGhO1Txcr4jS4aUbkwNT/iJVWZLnMIhNy5LOIJRU0dtk3PjDyk8MvfgFpPYotsD6Fubm peoyYJy2mJaXBnzyHHyJpxXzr9CYeXBP+R4oWn3RfZcm968HFodthrlSnRSkYMzpTq5n b18I63tLNQLrydQRiIxn0eh+H/f0S/nVVr961oZsujOFSNupVO0GRGqXhAcczKf9PzXR DuCTJTOWIUZxtrU1jRez22POOrrotsHsJXRRHwpMcAda7pSkQHeQh4VjMWOzVduYJ6aY WR2g== X-Received: by 10.66.157.195 with SMTP id wo3mr18507031pab.17.1437657946938; Thu, 23 Jul 2015 06:25:46 -0700 (PDT) Received: from aconselv-mobl3.ger.corp.intel.com (jfdmzpr05-ext.jf.intel.com. [134.134.139.74]) by smtp.googlemail.com with ESMTPSA id de2sm9098390pdb.15.2015.07.23.06.25.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2015 06:25:46 -0700 (PDT) Message-ID: <1437657942.3604.19.camel@gmail.com> From: Ander Conselvan De Oliveira To: Maarten Lankhorst , intel-gfx@lists.freedesktop.org Date: Thu, 23 Jul 2015 16:25:42 +0300 In-Reply-To: <1437478142-416-4-git-send-email-maarten.lankhorst@linux.intel.com> References: <1437478142-416-1-git-send-email-maarten.lankhorst@linux.intel.com> <1437478142-416-4-git-send-email-maarten.lankhorst@linux.intel.com> X-Mailer: Evolution 3.16.3 (3.16.3-2.fc22) Mime-Version: 1.0 Cc: Daniel Stone Subject: Re: [Intel-gfx] [PATCH 3/6] drm/i915: Set csc coefficients in update_pipe_size. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Tue, 2015-07-21 at 13:28 +0200, Maarten Lankhorst wrote: 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 Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_display.c | 3 +++ 1 file changed, 3 insertions(+) Reviewed-by: Ander Conselvan de Oliveira diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index def9444eeae2..443328033981 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -3277,6 +3277,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