From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 1/5] drm/i915: Add RPS debugfs manual mode Date: Tue, 4 Feb 2014 12:31:37 +0100 Message-ID: <20140204113137.GO17001@phenom.ffwll.local> References: <1391204572-18888-1-git-send-email-jeff.mcgee@intel.com> <1391204572-18888-2-git-send-email-jeff.mcgee@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f181.google.com (mail-ea0-f181.google.com [209.85.215.181]) by gabe.freedesktop.org (Postfix) with ESMTP id 03A1A105DC1 for ; Tue, 4 Feb 2014 03:31:46 -0800 (PST) Received: by mail-ea0-f181.google.com with SMTP id m10so4335764eaj.40 for ; Tue, 04 Feb 2014 03:31:45 -0800 (PST) Content-Disposition: inline In-Reply-To: <1391204572-18888-2-git-send-email-jeff.mcgee@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: jeff.mcgee@intel.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Jan 31, 2014 at 03:42:48PM -0600, jeff.mcgee@intel.com wrote: > From: Jeff McGee > > RPS manual mode disables/ignores load-based inputs and allows render > performance state to be controlled externally. The enabling of manual > mode and setting of desired frequency is done through debugfs. > > i915_rps_manual: > '0' - RPS controlled normally using load metrics. > '1' - RPS controlled manually via i915_cur_freq writes. > > i915_cur_freq: > u64 - Value is the current gpu frequency request in MHz. Writes > accepted only if i915_rps_manual = 1. > > Supports Gen6+ except Valleyview and Broadwell. > > Signed-off-by: Jeff McGee Hm, can't we fake this by setting min/max to the same values? -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch