From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: [RFC/RFT] mode setting assertion functions Date: Thu, 30 Dec 2010 13:16:28 -0800 Message-ID: <1293743792-8665-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cpoproxy1-pub.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by gabe.freedesktop.org (Postfix) with SMTP id 33F269E746 for ; Thu, 30 Dec 2010 13:16:46 -0800 (PST) Received: from c-67-174-193-198.hsd1.ca.comcast.net ([67.174.193.198] helo=localhost.localdomain) by box514.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PYPrZ-0006p7-56 for intel-gfx@lists.freedesktop.org; Thu, 30 Dec 2010 14:16:45 -0700 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 Here's a small (but still growing) set of patches to assert some of the various conditions required to enable pipes, planes, and PLLs. It also has the effect of consolidating much of our pipe/plane handling code, which should make it easier to add 3 pipe support (an IVB feature). Please test & comment. Ironlake+ adds transcoders and FDI; I'm still working on functions for those (they'll need more assertions added). Overall this approach seems to be a win in terms of code readability, and should make it easier to find & fix mode setting related bugs, especially during bringup.