From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH v3 2/3] drm/i915/vlv: WA for Turbo and RC6 to work together. Date: Thu, 13 Mar 2014 20:57:09 +0200 Message-ID: <20140313185709.GR20292@intel.com> References: <531718EF.3060201@intel.com> <1394726418-10831-1-git-send-email-deepak.s@linux.intel.com> <1394726418-10831-3-git-send-email-deepak.s@linux.intel.com> <20140313181730.GQ20292@intel.com> <5321FBAD.9010103@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga14.intel.com (unknown [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id 49E21FA981 for ; Thu, 13 Mar 2014 11:57:14 -0700 (PDT) Content-Disposition: inline In-Reply-To: <5321FBAD.9010103@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: "S, Deepak" Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Mar 14, 2014 at 12:10:45AM +0530, S, Deepak wrote: > = > = > On 3/13/2014 11:47 PM, Ville Syrj=E4l=E4 wrote: > > On Thu, Mar 13, 2014 at 09:30:17PM +0530, deepak.s@linux.intel.com wrot= e: > >> @@ -5019,13 +5026,17 @@ enum punit_power_well { > >> > >> #define GEN6_GT_GFX_RC6_LOCKED 0x138104 > >> #define VLV_COUNTER_CONTROL 0x138104 > >> +#define VLV_RC_COUNTER_CONTROL 0xFFFF00FF > > > > I'd still like to see names for all the bits we frob, and I'd > > still like to have some kind of an answer to the question whether > > we really need to enable them all when the w/a is only interested > > in the rc0 counters. > = > I did try with enabling only the rc0 counters, but the busyness = > calculation was not right. Let me do some more investigation and get = > back to you on this. Well, if you tried it and it didn't work right, then I'm already fairly satisfied with that. It just needs a comment to make it clear why we enable them all. Of course if you can dig out more details, that's always a bonus. -- = Ville Syrj=E4l=E4 Intel OTC