From: ville.syrjala@linux.intel.com Subject: [PATCH 0/2] drm/i915: Ring buffer stuff Date: Mon, 26 Nov 2012 14:48:17 +0200 Message-ID: <1353934099-18685-1-git-send-email-ville.syrjala@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 69A00E5BF8 for ; Mon, 26 Nov 2012 04:48:25 -0800 (PST) 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: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org After getting slightly confused by the values of the ring registers in the error state dumps, I started to actually read the specs and compare what I learned with the code. I spotted one possible issue with the head and tail handling. But I don't know if my patch might fix some obscure bug, or not. gem_ringfill seems to work equally well with and without the patch.