From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915/bdw: Use timeout mode for RC6 on bdw Date: Mon, 2 Jun 2014 10:26:09 +0200 Message-ID: <20140602082609.GI19050@phenom.ffwll.local> References: <1397069046-50906-1-git-send-email-Tom.O'Rourke@intel.com> <20140430053148.GB1560@bwidawsk.net> <20140430133436.53429816@kcaccard-desk.amr.corp.intel.com> <20140430204158.GA27267@bwidawsk.net> <1398891795.8121.6.camel@ideak-mobl> <20140430141402.69d19e9a@kcaccard-desk.amr.corp.intel.com> <20140501223536.GA7614@bwidawsk.net> <411E5DC12A51ED4CB1159E14310E532B9D8BEADE@FMSMSX119.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) by gabe.freedesktop.org (Postfix) with ESMTP id 7D3866E21A for ; Mon, 2 Jun 2014 01:26:14 -0700 (PDT) Received: by mail-we0-f174.google.com with SMTP id k48so4732181wev.19 for ; Mon, 02 Jun 2014 01:26:13 -0700 (PDT) Content-Disposition: inline In-Reply-To: <411E5DC12A51ED4CB1159E14310E532B9D8BEADE@FMSMSX119.amr.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: "O'Rourke, Tom" Cc: "intel-gfx@lists.freedesktop.org" , Ben Widawsky , Kristen Carlson Accardi List-Id: intel-gfx@lists.freedesktop.org On Fri, May 30, 2014 at 11:30:18PM +0000, O'Rourke, Tom wrote: > >On Wed, Apr 30, 2014 at 02:14:02PM -0700, Kristen Carlson Accardi wrote: > >> On Thu, 01 May 2014 00:03:15 +0300 > >> Imre Deak wrote: > >> > >> > On Wed, 2014-04-30 at 13:41 -0700, Ben Widawsky wrote: > >> > > On Wed, Apr 30, 2014 at 01:34:36PM -0700, Kristen Carlson Accardi wrote: > >> > > > On Tue, 29 Apr 2014 22:31:49 -0700 Ben Widawsky > >> > > > wrote: > >> > > > > >> > > > > On Wed, Apr 09, 2014 at 11:44:06AM -0700, Tom O'Rourke wrote: > >> > > > > > Higher RC6 residency is observed using timeout mode instead > >> > > > > > of EI mode. This applies to Broadwell only. > >> > > > > > The difference is particularly noticeable with video > >> > > > > > playback. > >> > > > > > > >> > > > > > Issue: VIZ-3778 > >> > > > > > Change-Id: I62bb12e21caf19651034826b45cde7f73a80938d > >> > > > > > Signed-off-by: Tom O'Rourke > >> > > > > > >> > > > > I've merged this one to my bdw-rc6 branch, and therefore my > >> > > > > broadwell branch. Hopefully Kristen will see some improvement. > >> > > > > >> > > > Unfortunately, I built your bdw-rc6 branch along with the revert > >> > > > I need to get my panel to work, and I get zero rc6 residency. > >> > > > Do I have to explicitly enable it? > >> > > > >> > > I'm not actually sure. You can try it and let me know. I haven't > >> > > had any time to verify the rebase. We can check my hack. > >> > > >> > Note that in -nightly you also have to update sanitize_rc6_option() > >> > along with intel_enable_gt_powersave() and > >> > intel_disable_gt_powersave() since atm these keep RC6 disabled on BDW. > >> > > >> > --Imre > >> > > >> > >> > >> Yes, I reverted fb5ed3b201fe5670c9ffeec3b5f6ff044d543c9e and was able > >> to see some rc6 residency. With the idle workload, residency appears > >> to be similar to before, so no regression. > > > >Thanks. I'll squash this in where appropriate. > > > >-- > >Ben Widawsky, Intel Open Source Technology Center > > [TOR:] Can we get this patch merged now that RC6 is working on drm-intel-nightly? Needs some review from bdw people. Also some relative residency improvement date should be added to the commit message (yes, we're allowed to do that now officially). -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch