From: Ben Widawsky Subject: Re: [PATCH 2/6] drm/i915: HSW PM Frequency bits fix Date: Sun, 24 Mar 2013 15:16:16 -0700 Message-ID: <20130324221616.GB1922@bwidawsk.net> References: <1361834023-30062-1-git-send-email-rodrigo.vivi@gmail.com> <1361834023-30062-3-git-send-email-rodrigo.vivi@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from shiva.localdomain (209-20-75-48.static.cloud-ips.com [209.20.75.48]) by gabe.freedesktop.org (Postfix) with ESMTP id CA25AE5E14 for ; Sun, 24 Mar 2013 15:14:08 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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: Paulo Zanoni Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Feb 26, 2013 at 05:57:20PM -0300, Paulo Zanoni wrote: > Hi > > 2013/2/25 Rodrigo Vivi : > > According to HSW PM programming guide, frequency bits starts at > > 24 instead of 25 > > This looks incomplete. Please check all the cases where RPNSWREQ is > used, I think we need to fix them too. Also, according to the PM > programming guide, all the other RPNSWREQ bits are reserved/read-only, > but I still see our code trying to set some of these bits (even if > it's trying to set it to zero), so I guess that on Haswell all the > writes to RPNSWREQ should only contain the HSW_FREQUENCY macro, not > others. And for those other bits, we need to discover where did they > go. We really should get this, or some version of this patch committed sooner rather than later. If there is disagreement over the entire series, could you please extract the important part into an individual patch? [snip] -- Ben Widawsky, Intel Open Source Technology Center