From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paulo Zanoni Subject: [PATCH 0/6] ILK/IVB irq handler merge Date: Thu, 4 Jul 2013 17:21:05 -0300 Message-ID: <1372969271-3814-1-git-send-email-przanoni@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ye0-f175.google.com (mail-ye0-f175.google.com [209.85.213.175]) by gabe.freedesktop.org (Postfix) with ESMTP id D7ED9E5F91 for ; Thu, 4 Jul 2013 13:21:46 -0700 (PDT) Received: by mail-ye0-f175.google.com with SMTP id q8so491037yen.20 for ; Thu, 04 Jul 2013 13:21:46 -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 Cc: Paulo Zanoni List-Id: intel-gfx@lists.freedesktop.org From: Paulo Zanoni This is something that have always bothered me: we have two functions that do almost the same thing, but their implementations are quite different. On this series I try to reorganize the two irq handlers so their implementations become very similar, and in the last patch I add ILK/SNB support to ivybridge_irq_handler and kill ironlake_irq_handler. This is mostly a coding-style/OCD series, but considering how complex our irq handlers are becoming, I think it's an advantage to be able to kill one irq handler. ALso, this series removes more lines than it adds :) Patches tested on SNB (which uses the ILK irq handler) and HSW (IVB irq handler). Paulo Zanoni (6): drm/i915: extract ilk_display_irq_handler drm/i915: extract ivb_display_irq_handler drm/i915: don't read or write GEN6_PMIIR on Gen 5 drm/i915: reorganize ironlake_irq_handler drm/i915: POSTING_READ(DEIER) on ivybridge_irq_handler drm/i915: add ILK/SNB support to ivybridge_irq_handler drivers/gpu/drm/i915/i915_irq.c | 273 ++++++++++++++++++---------------------- 1 file changed, 120 insertions(+), 153 deletions(-) -- 1.8.1.2