From: Jesse Barnes Subject: Re: [PATCH 2/4] drm/i915: add helper for checking whether IRQs are enabled Date: Mon, 14 Jul 2014 08:58:58 -0700 Message-ID: <20140714085858.168c4276@jbarnes-desktop> References: <1403281762-1927-1-git-send-email-jbarnes@virtuousgeek.org> <1403281762-1927-2-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 mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by gabe.freedesktop.org (Postfix) with ESMTP id 855A689FC9 for ; Mon, 14 Jul 2014 08:57:57 -0700 (PDT) Received: by mail-pd0-f180.google.com with SMTP id y13so3143621pdi.25 for ; Mon, 14 Jul 2014 08:57:57 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Paulo Zanoni Cc: Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Mon, 14 Jul 2014 12:19:54 -0300 Paulo Zanoni wrote: > 2014-07-14 12:06 GMT-03:00 Paulo Zanoni : > > 2014-06-20 13:29 GMT-03:00 Jesse Barnes : > >> Now that we use the runtime IRQ enable/disable functions in our suspend > >> path, we can simply check the pm._irqs_disabled flag everywhere. So > >> rename it to catch the users, and add an inline for it to make the > >> checks clear everywhere. > >> > >> Signed-off-by: Jesse Barnes > > > > Reviewed-by: Paulo Zanoni > > Looks like this patch brings some WARNs at init time, so I retract > that R-B tag :) The later patches fix those. -- Jesse Barnes, Intel Open Source Technology Center