Re: [Intel-gfx] [PATCH] drm/i915: Respect ring_mask and num_pipes when install IRQ

2016-12-09 Thread Wang, Elaine
> On Thu, Dec 08, 2016 at 06:46:49PM +0800, Wang Elaine wrote: > > From: Elaine Wang > > > > Some platforms only have VCS ring in VDBox. To avoid accessing the > > non-existent rings or display registers, check the ring_mask and > > num_pipes in gen8 IRQ install and reset functions. > > > > Cc: Jo

Re: [Intel-gfx] [PATCH] drm/i915: Respect ring_mask and num_pipes when install IRQ

2016-12-08 Thread Ville Syrjälä
On Thu, Dec 08, 2016 at 06:46:49PM +0800, Wang Elaine wrote: > From: Elaine Wang > > Some platforms only have VCS ring in VDBox. To avoid accessing the > non-existent rings or display registers, check the ring_mask > and num_pipes in gen8 IRQ install and reset functions. > > Cc: Joonas Lahtinen

Re: [Intel-gfx] [PATCH] drm/i915: Respect ring_mask and num_pipes when install IRQ

2016-12-08 Thread Joonas Lahtinen
On to, 2016-12-08 at 18:46 +0800, Wang Elaine wrote: > > From: Elaine Wang > > Some platforms only have VCS ring in VDBox. To avoid accessing the > non-existent rings or display registers, check the ring_mask > and num_pipes in gen8 IRQ install and reset functions. > > Cc: Joonas Lahtinen > Sig

[Intel-gfx] [PATCH] drm/i915: Respect ring_mask and num_pipes when install IRQ

2016-12-08 Thread Wang Elaine
From: Elaine Wang Some platforms only have VCS ring in VDBox. To avoid accessing the non-existent rings or display registers, check the ring_mask and num_pipes in gen8 IRQ install and reset functions. Cc: Joonas Lahtinen Signed-off-by: Elaine Wang --- drivers/gpu/drm/i915/i915_irq.c | 22