[Intel-gfx] [PATCH] drm/i915: Hold a RPM reference during i915_driver_unload

2015-12-29 Thread Gabriel Feceoru
This fixes an issue added with: "1f814da drm/i915: add support for checking if we hold an RPM reference", noticed while running drv_module_reload_basic. WARNING: CPU: 1 PID: 2032 at drivers/gpu/drm/i915/intel_drv.h:1446 gen6_read32+0x1ca/0x1e0 [i915]() [ 138.682686] RPM wakelock ref not held dur

Re: [Intel-gfx] [PATCH] drm/i915: Hold a RPM reference during i915_driver_unload

2015-12-30 Thread Joonas Lahtinen
Hi, On ti, 2015-12-29 at 12:55 +0200, Gabriel Feceoru wrote: > This fixes an issue added with: "1f814da drm/i915: add support for > checking > if we hold an RPM reference", noticed while running > drv_module_reload_basic. > > WARNING: CPU: 1 PID: 2032 at drivers/gpu/drm/i915/intel_drv.h:1446 > ge

Re: [Intel-gfx] [PATCH] drm/i915: Hold a RPM reference during i915_driver_unload

2015-12-31 Thread Gabriel Feceoru
On 30.12.2015 15:03, Joonas Lahtinen wrote: Hi, On ti, 2015-12-29 at 12:55 +0200, Gabriel Feceoru wrote: This fixes an issue added with: "1f814da drm/i915: add support for checking if we hold an RPM reference", noticed while running drv_module_reload_basic. WARNING: CPU: 1 PID: 2032 at drive

Re: [Intel-gfx] [PATCH] drm/i915: Hold a RPM reference during i915_driver_unload

2015-12-31 Thread Joonas Lahtinen
On to, 2015-12-31 at 12:44 +0200, Gabriel Feceoru wrote: > > On 30.12.2015 15:03, Joonas Lahtinen wrote: > > Hi > > > +++ b/drivers/gpu/drm/i915/i915_dma.c > > > @@ -1136,6 +1136,8 @@ int i915_driver_unload(struct drm_device > > > *dev) > > > struct drm_i915_private *dev_priv = dev->d

Re: [Intel-gfx] [PATCH] drm/i915: Hold a RPM reference during i915_driver_unload

2016-01-14 Thread Imre Deak
On ke, 2015-12-30 at 15:03 +0200, Joonas Lahtinen wrote: > Hi, > > On ti, 2015-12-29 at 12:55 +0200, Gabriel Feceoru wrote: > > This fixes an issue added with: "1f814da drm/i915: add support for > > checking > > if we hold an RPM reference", noticed while running > > drv_module_reload_basic. > >