From: ville.syrjala@linux.intel.com Subject: [PATCH i-g-t 0/2] kms_flip: Test for page flip crtc->fb clobber bug Date: Mon, 4 Mar 2013 15:34:05 +0200 Message-ID: <1362404047-8326-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 mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 9BD89E626D for ; Mon, 4 Mar 2013 05:34:23 -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 This new test 'flip-vs-bad-tiling' will trigger the pin_count underflow BUG in the kernel due to page flip clobbering the crtc->fb pointer when queue_flip fails. With the kernel fix applied the test completes succesfully. I also included a small fix for a use-after-free bug I spotted.