From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915/vlv: Turn off power gate for BIOS-less system. Date: Fri, 4 Oct 2013 10:26:36 +0200 Message-ID: <20131004082636.GL31334@phenom.ffwll.local> References: <1380006867-20771-1-git-send-email-chon.ming.lee@intel.com> <1380813377-5992-1-git-send-email-chon.ming.lee@intel.com> <20131003163447.GY9395@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) by gabe.freedesktop.org (Postfix) with ESMTP id DDDFAE5C7A for ; Fri, 4 Oct 2013 01:26:18 -0700 (PDT) Received: by mail-ee0-f43.google.com with SMTP id e52so1636919eek.30 for ; Fri, 04 Oct 2013 01:26:18 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20131003163447.GY9395@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Oct 03, 2013 at 07:34:48PM +0300, Ville Syrj=E4l=E4 wrote: > On Thu, Oct 03, 2013 at 11:16:17PM +0800, Chon Ming Lee wrote: > > During system boot up, by default, the power gate for render, media and > > display well still power gated. Normally, BIOS will turn off the power > > gate. In the BIOS-less system, the driver need to turn off the power > > gate very early during driver load. > > = > > v2: Move this to intel_uncore_sanitize to allow it to get call during > > resume path. (Daniel) > > v3: Remove redundant write 0 to DPIO_CTL, and use DPIO_RESET instead of > > just 0x1 (Ville) > > Add turn of power gate for display 2d/render well/media well. > > v4: Remove toggle cmnreset in intel_uncore_sanitize. Cmnreset should > > toggle after CRI clock source has been selected. Jesse DPIO reset patch > > which toggle the cmnreset in intel_modeset_init_hw() should handle it. > > (Ville) > > = > > Signed-off-by: Chon Ming Lee > = > Looks OK as a short term solution. > = > Reviewed-by: Ville Syrj=E4l=E4 Queued for -next, thanks for the patch. -Daniel -- = Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch