From patchwork Tue Nov 9 16:42:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Xinyun X-Patchwork-Id: 311542 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 oA9GiIXq014910 for ; Tue, 9 Nov 2010 16:44:39 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 926629E940 for ; Tue, 9 Nov 2010 08:44:18 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 862B99E78A for ; Tue, 9 Nov 2010 08:43:58 -0800 (PST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 09 Nov 2010 08:43:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.59,174,1288594800"; d="scan'208";a="346508155" Received: from woliu-sh.sh.intel.com (HELO woliu-sh) ([10.239.13.47]) by azsmga001.ch.intel.com with ESMTP; 09 Nov 2010 08:43:56 -0800 Date: Wed, 10 Nov 2010 00:42:50 +0800 From: Liu Xinyun To: Chris Wilson Message-ID: <20101109164250.GA8905@woliu-sh> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: intel-gfx@lists.freedesktop.org Subject: [Intel-gfx] fix backlight resets to minium when changing resolution 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]); Tue, 09 Nov 2010 16:44:39 +0000 (UTC) diff --git a/src/intel_display.c b/src/intel_display.c index d32224e..4a159bf 100644 --- a/src/intel_display.c +++ b/src/intel_display.c @@ -339,6 +339,8 @@ intel_crtc_apply(xf86CrtcPtr crtc) if (output->crtc != crtc) continue; + /* Turn on any outputs on this crtc that may have been disabled */ + intel_output_dpms(output, DPMSModeOn); intel_output = output->driver_private; output_ids[output_count] =