[Intel-gfx] [PATCH v2] drm/i915: Respect num_pipes when install or reset dispaly IRQ

Chris Wilson chris at chris-wilson.co.uk
Fri Dec 9 15:52:39 UTC 2016


On Fri, Dec 09, 2016 at 05:45:56PM +0200, Joonas Lahtinen wrote:
> On pe, 2016-12-09 at 18:01 +0800, Wang Elaine wrote:
> > From: Elaine Wang <elaine.wang at intel.com>
> > 
> > Some platforms don't have display. To avoid accessing the
> > non-existent registers, check whether num_pipes isn't zero
> > before invoking dispaly IRQ install or reset function.
> > 
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> > Signed-off-by: Elaine Wang <elaine.wang at intel.com>
> 
> Seems straightforward to me. A-b from Ville?

Once upon a time we used HAS_PCH_NOP(). How does that differ?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list