From: ville.syrjala@linux.intel.com Subject: [PATCH 0/2] drm/i915: Gen2 vblank stuff Date: Fri, 11 Oct 2013 21:52:42 +0300 Message-ID: <1381517564-6378-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 mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 0E96EE82AC for ; Fri, 11 Oct 2013 11:53:12 -0700 (PDT) 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 Continuing a bit with improving the vblank timestamp stuff, I decided that it's also time to fix gen2 properly. All this time we've been pretending it has the same pixel+frame counter that gen3 and gen4 have, when in fact it doesn't. Luckily the same offset has nothing else on gen2, so it has just read out as 0 and everything more or less worked. Sadly there doesn't seem to be any frame counter register on gen2. For the scanout position, DSL + additional tricks works equally well for gen2 as it does for ctg+. This series should be applied on top of my earlier vblank/scanout position improvements.