From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eugeni Dodonov Subject: Re: [PATCH 04/10] drm/i915: add RPS configuration for Haswell Date: Mon, 02 Jul 2012 17:02:59 -0300 Message-ID: <4FF1FE73.8090408@linux.intel.com> References: <1341240671-5843-1-git-send-email-eugeni.dodonov@intel.com> <1341240671-5843-5-git-send-email-eugeni.dodonov@intel.com> <20120702104930.5e992630@bwidawsk.net> Reply-To: eugeni.dodonov@intel.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id C6DFE9E8B0 for ; Mon, 2 Jul 2012 13:00:50 -0700 (PDT) In-Reply-To: <20120702104930.5e992630@bwidawsk.net> 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: Ben Widawsky Cc: intel-gfx@lists.freedesktop.org, Eugeni Dodonov List-Id: intel-gfx@lists.freedesktop.org On 07/02/2012 02:49 PM, Ben Widawsky wrote: > On Mon, 2 Jul 2012 11:51:05 -0300 > Eugeni Dodonov wrote: > >> Most of the RPS and RC6 enabling functionality is similar to what we had >> on Gen6/Gen7, so we preserve most of the registers. >> >> Note that Haswell only has RC6, so account for that as well. As suggested >> by Daniel Vetter, to reduce the amount of changes in the patch, we still >> write the RC6p/RC6pp thresholds, but those are ignored on Haswell. >> >> Signed-off-by: Eugeni Dodonov > Reviewed-by: Ben Widawsky Daniel, to please Ben Widawsky, you could add an extra paragraph in my message, saying: 'On Haswell, the suggested values for the RP UP and RP DOWN interrupts have changed in a way to have lower thresholds for all the operations. However, the suggested values for pre-Haswell machines stay the same. In order to follow what the hardware designers suggest, we program those as suggested for each generation now. Also, Haswell introduces a new scheduling bit for the RP DOWN scheduling, which we now use by default'. Eugeni