[Intel-gfx] [PATCH 2/4] drm/i915: add helper for checking whether IRQs are enabled

Jesse Barnes jbarnes at virtuousgeek.org
Mon Jul 14 17:58:58 CEST 2014


On Mon, 14 Jul 2014 12:19:54 -0300
Paulo Zanoni <przanoni at gmail.com> wrote:

> 2014-07-14 12:06 GMT-03:00 Paulo Zanoni <przanoni at gmail.com>:
> > 2014-06-20 13:29 GMT-03:00 Jesse Barnes <jbarnes at virtuousgeek.org>:
> >> 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 <jbarnes at virtuousgeek.org>
> >
> > Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
> 
> 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



More information about the Intel-gfx mailing list