From patchwork Thu Sep 23 18:36:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hette Visser X-Patchwork-Id: 202622 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8NIb0P9026157 for ; Thu, 23 Sep 2010 18:37:35 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 67A899F38B for ; Thu, 23 Sep 2010 11:37:00 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-iw0-f177.google.com (mail-iw0-f177.google.com [209.85.214.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 23BBD9E7E2 for ; Thu, 23 Sep 2010 11:36:48 -0700 (PDT) Received: by iwn36 with SMTP id 36so1947488iwn.36 for ; Thu, 23 Sep 2010 11:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=ubkUcZwXuNBom6Pvul0DXA9wosJyw/jpXIb5/y1BPeQ=; b=RIOV7glOwdxly2m4i5604rAbZ+k5eVLh4EuwNsShh4xqz8pcrjNWVhrEWqDN0hXMjS bCddN0ADnyJ7BhpnwHFsrcOdycdR6962lV2A1JcbZeJXxuh+TukcEr/CCxy+0OBVGPwq WgMgm8j6svkm6gXaVYeoE6uVj6/VfRq7/+pQ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=bsLWIRgBaZIRemQvMgsrCxMoHW2k35LbgGNEdw06SoxmImoFq/rm5uPGALXGd2GEK2 n6fPAaCGMmYtmLslE2W22Shl+lIm1b+DReLg1aAa5GH1jZDtf4csSfiXEEY2PfAu1myM u9W4TrNRdFLGTTq91jlOVQ8S8tPwPYXibrmZY= MIME-Version: 1.0 Received: by 10.231.11.197 with SMTP id u5mr1397178ibu.41.1285267007331; Thu, 23 Sep 2010 11:36:47 -0700 (PDT) Received: by 10.231.13.71 with HTTP; Thu, 23 Sep 2010 11:36:47 -0700 (PDT) Date: Thu, 23 Sep 2010 20:36:47 +0200 Message-ID: From: Hette Visser To: intel-gfx@lists.freedesktop.org Subject: [Intel-gfx] [PATCH] drm/i915: Fix black screen bug on Dell e6510 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.11 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-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 23 Sep 2010 18:37:35 +0000 (UTC) --- drivers/gpu/drm/i915/intel_dp.c.orig 2010-09-23 20:13:36.046856913 +0200 +++ drivers/gpu/drm/i915/intel_dp.c 2010-09-23 19:27:00.682282002 +0200 @@ -27,6 +27,7 @@ #include #include +#include #include "drmP.h" #include "drm.h" #include "drm_crtc.h" @@ -772,6 +773,7 @@ static void ironlake_edp_panel_on (struc pp |= PANEL_UNLOCK_REGS | POWER_TARGET_ON; I915_WRITE(PCH_PP_CONTROL, pp); + msleep(300); if (wait_for(I915_READ(PCH_PP_STATUS) & PP_ON, 5000, 10)) DRM_ERROR("panel on wait timed out: 0x%08x\n", I915_READ(PCH_PP_STATUS)); @@ -805,6 +807,7 @@ static void ironlake_edp_panel_off (stru pp |= EDP_FORCE_VDD | PANEL_POWER_RESET; /* restore panel reset bit */ I915_WRITE(PCH_PP_CONTROL, pp); POSTING_READ(PCH_PP_CONTROL); + msleep(300); } _______________________________________________ Intel-gfx mailing list