Re: [Intel-gfx] [PATCH 3/5] drm/i915: Convert OpRegion ASLE irq worker into a tasklet

2016-05-23 Thread Jani Nikula
On Mon, 23 May 2016, Chris Wilson wrote: > On Mon, May 23, 2016 at 12:12:30PM +0300, Jani Nikula wrote: >> > #define ACPI_EV_DISPLAY_SWITCH (1<<0) >> > @@ -814,11 +807,11 @@ void intel_opregion_fini(struct drm_device *dev) >> >if (!opregion->header) >> >return; >> > >> > + task

Re: [Intel-gfx] [PATCH 3/5] drm/i915: Convert OpRegion ASLE irq worker into a tasklet

2016-05-23 Thread Chris Wilson
On Mon, May 23, 2016 at 12:12:30PM +0300, Jani Nikula wrote: > > #define ACPI_EV_DISPLAY_SWITCH (1<<0) > > @@ -814,11 +807,11 @@ void intel_opregion_fini(struct drm_device *dev) > > if (!opregion->header) > > return; > > > > + tasklet_kill(&dev_priv->opregion.asle_task); > > +

Re: [Intel-gfx] [PATCH 3/5] drm/i915: Convert OpRegion ASLE irq worker into a tasklet

2016-05-23 Thread Jani Nikula
On Thu, 19 May 2016, Chris Wilson wrote: > Using a tasklet for an irq bottom-half is the preferred form as it > should ensure minimal latency from the irq to execution of the tasklet. > > Signed-off-by: Chris Wilson > Cc: Tvrtko Ursulin > Cc: Joonas Lahtinen > --- > drivers/gpu/drm/i915/i915_d

[Intel-gfx] [PATCH 3/5] drm/i915: Convert OpRegion ASLE irq worker into a tasklet

2016-05-19 Thread Chris Wilson
Using a tasklet for an irq bottom-half is the preferred form as it should ensure minimal latency from the irq to execution of the tasklet. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Cc: Joonas Lahtinen --- drivers/gpu/drm/i915/i915_drv.h | 2 +- drivers/gpu/drm/i915/intel_opregion.c