From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] drm/i915: initialize ring frequency scaling table on SNB Date: Thu, 23 Jun 2011 21:08:02 +0100 Message-ID: References: <20110621152424.75f54a13@jbarnes-desktop> <8762nxiu83.fsf@eliezer.anholt.net> <20110622125646.37597e13@jbarnes-vaio.home> <20110623101126.58cba07c@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id C1F2E9E83B for ; Thu, 23 Jun 2011 13:08:05 -0700 (PDT) In-Reply-To: <20110623101126.58cba07c@jbarnes-desktop> 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: Jesse Barnes Jesse Barnes Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, 23 Jun 2011 10:11:26 -0700, Jesse Barnes wrote: > I tested again and things were working as expected. This patch adds a > debugfs file for dumping the ring freq table, can you guys test it out > (try disabling the call to update the table, dump it, make sure it's 0, > then re-enable and make sure it's programmed correctly). According to the debugfs, your defaults should be effective: sandybridge:~$ cat /sys/kernel/debug/dri/1/i915_ring_freq_table GPU freq Effective CPU freq 850 0 -> 1600 900 0 -> 1700 950 0 -> 1800 1000 0 -> 1800 1050 0 -> 1900 1100 0 -> 2000 I'll give the tyres another kick and see if I can spot any differences. -Chris -- Chris Wilson, Intel Open Source Technology Centre