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

2016-12-11 Thread Wang, Elaine
> 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 > > > > > > Some platforms don't have display. To avoid accessing the > > > non-existent registers, check whether num_pipes

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

2016-12-09 Thread Chris Wilson
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 > > > > Some platforms don't have display. To avoid accessing the > > non-existent registers, check whether num_pipes isn't zero >

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

2016-12-09 Thread Joonas Lahtinen
On pe, 2016-12-09 at 18:01 +0800, Wang Elaine wrote: > From: Elaine Wang > > 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

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

2016-12-09 Thread Wang Elaine
From: Elaine Wang 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 Signed-off-by: Elaine Wang