[Intel-gfx] [PATCH 2/2] drm/i915:fix irq miss in bsd ring for g4x

2011-04-28 Thread Feng, Boqun
This patch depends on patch drm/i915:merge ring_put/get_irq into bsd_ring_put/get_irq On g4x, user interrupt in bsd ring is missed. g4x and ironlake share the same bsd_ring, but their interrupt control interfaces are different, g4x use I915 while ironlake use GT. The interrupt mask reg address

[Intel-gfx] [PATCH 2/2] drm/i915:fix irq miss in bsd ring for g4x v2

2011-04-28 Thread Feng, Boqun
This patch depends on patch drm/i915:merge ring_put/get_irq into bsd_ring_put/get_irq On g4x, user interrupt in bsd ring is missed. g4x and ironlake share the same bsd_ring, but their interrupt control interfaces are different, g4x use I915 while ironlake use GT. The interrupt mask reg address

Re: [Intel-gfx] [PATCH 2/2] drm/i915:fix irq miss in bsd ring for g4x v2

2011-04-28 Thread Chris Wilson
On Thu, 28 Apr 2011 15:22:05 +0800, Feng, Boqun boqun.f...@intel.com wrote: This patch depends on patch drm/i915:merge ring_put/get_irq into bsd_ring_put/get_irq I'm being a nuisance, but this is the wrong way around. This a bug fix and needs to apply cleanly on top of -fixes and marked for

Re: [Intel-gfx] [PATCH 2/2] drm/i915:fix irq miss in bsd ring for g4x v2

2011-04-28 Thread Feng, Boqun
I got it. Thanks -Boqun -Original Message- From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] Sent: Thursday, April 28, 2011 4:03 PM To: Feng, Boqun; intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915:fix irq miss in bsd ring for g4x v2 On Thu, 28 Apr 2011

[Intel-gfx] [PATCH 2/2] drm/i915:fix irq miss in bsd ring for g4x

2011-04-27 Thread Feng, Boqun
On g4x, user interrupt in bsd ring is missed. g4x and ironlake share the same bsd_ring, but their interrupt control interfaces are different. G4x use I915 while ironlake use GT. The interrupt mask reg address on g4x should be IMR, user interrupt bit in bsd ring on g4x is I915_BSD_USER_INTERRUPT