From: Chris Wilson Subject: Re: [PATCH 2/3] drm/i915: RC6 Fix Write Min Frequency Table. Date: Wed, 10 Apr 2013 10:23:33 +0100 Message-ID: <20130410092333.GP3792@cantiga.alporthouse.com> References: <1365543166-7051-1-git-send-email-rodrigo.vivi@gmail.com> <1365543166-7051-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 mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id 7A5F8E6008 for ; Wed, 10 Apr 2013 02:23:41 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1365543166-7051-3-git-send-email-rodrigo.vivi@gmail.com> 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: Rodrigo Vivi Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Apr 09, 2013 at 06:32:45PM -0300, Rodrigo Vivi wrote: > According to SNB GT PM Programming Guide page 9, > Write Min Frequency Table is 09h I think this is the winner of what workarounds the hang... (Since patch 3 is a no-op, patch 1 still reverts a change to the media turbo mode requested by VPG.) The original code for this patch is correct, I have in the bspec: 0x8 WRITE_MIN_FREQ_TABLE 0x9 READ_MIN_FREQ_TABLE So the effect of this patch is to undo the ring/uncore scaling with GPU frequency which will slow everything down and is less likely to provoke uncore death. -Chris -- Chris Wilson, Intel Open Source Technology Centre