From patchwork Fri Aug 16 00:31:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: James Ausmus X-Patchwork-Id: 2845326 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8539F9F2F5 for ; Fri, 16 Aug 2013 00:43:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 957CD202B1 for ; Fri, 16 Aug 2013 00:43:31 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id DC259202A7 for ; Fri, 16 Aug 2013 00:43:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E1F5BE849D for ; Thu, 15 Aug 2013 17:43:26 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 8A0D7E6CC4 for ; Thu, 15 Aug 2013 17:32:00 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 15 Aug 2013 17:31:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,889,1367996400"; d="scan'208";a="387901476" Received: from jausmus-gentoo-dev5.jf.intel.com ([10.7.198.60]) by orsmga002.jf.intel.com with ESMTP; 15 Aug 2013 17:31:57 -0700 From: james.ausmus@intel.com To: intel-gfx@lists.freedesktop.org Date: Thu, 15 Aug 2013 17:31:08 -0700 Message-Id: <1376613069-15790-44-git-send-email-james.ausmus@intel.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1376613069-15790-1-git-send-email-james.ausmus@intel.com> References: <1376613069-15790-1-git-send-email-james.ausmus@intel.com> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH] CHROMIUM: drm/i915: Increase the wakeup up delay for PPT X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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 From: Stéphane Marchesin This is basically increasing the delay added by commit: commit 1d20c4fb51f18461f385ab7f039f695d37b15958 Author: Stéphane Marchesin Date: Wed Jun 26 15:17:11 2013 -0700 CHROMIUM: drm/i915: Work around PPT chipsets wakeup delays As it seems the previous delay wasn't enough. BUG=chrome-os-partner:21306 TEST=still works on parrot, but couldn't repro the original bug Change-Id: I08d79f41ce1ddf0b6bcd0c620f19f7eb6dbe86c0 Reviewed-on: https://gerrit.chromium.org/gerrit/63399 Tested-by: Stéphane Marchesin Reviewed-by: Sonny Rao Commit-Queue: Mohammed Habibulla Reviewed-by: Mohammed Habibulla --- drivers/gpu/drm/i915/intel_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index c933bfa..d13e3a9 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -4837,10 +4837,10 @@ static void ironlake_init_pch_refclk(struct drm_device *dev) /* * On resume, the PPT PCH doesn't seem to work right away, and * sometimes ignores register read/writes until it's completely up. - * Waiting 30ms seems to be long enough to avoid this. + * Waiting 60ms seems to be long enough to avoid this. */ if (dev_priv->pch_id == INTEL_PCH_PPT_DEVICE_ID_TYPE) - msleep(30); + msleep(60); }