From patchwork Sun Oct 3 20:33:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keith Packard X-Patchwork-Id: 227701 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 o93KYdwq021960 for ; Sun, 3 Oct 2010 20:34:59 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 316C19EB64 for ; Sun, 3 Oct 2010 13:34:39 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id CD2F49EB65; Sun, 3 Oct 2010 13:33:54 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id 87578760102; Sun, 3 Oct 2010 13:33:54 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at keithp.com Received: from keithp.com ([127.0.0.1]) by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id c810jZLZoiJC; Sun, 3 Oct 2010 13:33:51 -0700 (PDT) Received: by keithp.com (Postfix, from userid 1033) id E2F897600FF; Sun, 3 Oct 2010 13:33:51 -0700 (PDT) Received: from koto.keithp.com (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id E08757600C2; Sun, 3 Oct 2010 13:33:51 -0700 (PDT) Received: by koto.keithp.com (Postfix, from userid 1488) id E4EE311C06E; Sun, 3 Oct 2010 13:33:50 -0700 (PDT) From: Keith Packard To: intel-gfx@lists.freedesktop.org Subject: [PATCH] drm/i915: mark display port DPMS state as 'ON' when enabling output Date: Sun, 3 Oct 2010 13:33:49 -0700 Message-Id: <1286138029-3728-1-git-send-email-keithp@keithp.com> X-Mailer: git-send-email 1.7.1 Cc: dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=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]); Sun, 03 Oct 2010 20:34:59 +0000 (UTC) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 9ab8708..8602143 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -881,6 +881,7 @@ static void intel_dp_commit(struct drm_encoder *encoder) } if (IS_eDP(intel_dp) || IS_PCH_eDP(intel_dp)) ironlake_edp_backlight_on(dev); + intel_dp->dpms_mode = DRM_MODE_DPMS_ON; } static void