From: Daniel Vetter Subject: Re: [PATCH] radeon: Make PM info available to all, not just debug users Date: Mon, 4 Jun 2012 21:54:33 +0200 Message-ID: <20120604195433.GC29760@phenom.ffwll.local> References: <20120604114431.aeeda075.cand@gmx.com> <4FCC9C56.2000505@vodafone.de> <4FCCACBD.4030401@free.fr> <4FCCCDEC.8010400@free.fr> <4FCCE9D8.9000307@free.fr> <4FCCF648.2090904@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 5F5839F057 for ; Mon, 4 Jun 2012 12:53:07 -0700 (PDT) Received: by werc12 with SMTP id c12so3781315wer.36 for ; Mon, 04 Jun 2012 12:53:06 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Jerome Glisse Cc: cand@gmx.com, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Mon, Jun 04, 2012 at 02:18:00PM -0400, Jerome Glisse wrote: > On Mon, Jun 4, 2012 at 1:54 PM, Martin Peres wrote: > > Answers inlined. > > > > Le 04/06/2012 19:19, Jerome Glisse a =E9crit : > > > >> > >> My point is that there is no way for power management to find an API > >> that fits all GPU. If i were to do it now, i would have one ioctl > >> version for r3xx, one for r5xx, one for r6xx/r7xx, one for r8xx, one > >> for r9xx, ... yes there would be some common fields accross them. > > > > Right, but would the userspace care for so much information? > = > I think it might, think about newer GPU where we could let user do a > custom profile to restrict the GPU into some range of power > consumption/temperature/fan speed .... What kind of information i > would want to expose would be highly GPU family related. In i915-land we're trying to make things Just Work. If needed we can expose (generation/platform-specific) tunables in sysfs. But on snb and later the combination of rc6+gpu turbo (mostly handled all by hw) is rather ok, so I don't see anything going above and beyond a min/max frequency limiter: Moving the min upwards would help for benchmarking, pushing the max doin might help conserver power for sucky let's eat everything gpu workloads. -Daniel -- = Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48