Re: [Intel-gfx] [RFC] drm: drm_vblank_cleanup: WARN when refcount is more than 0

2017-10-12 Thread PrasannaKumar Muralidharan
Hi Ville, On 12 October 2017 at 22:52, Ville Syrjälä wrote: > On Thu, Oct 12, 2017 at 10:30:06PM +0530, PrasannaKumar Muralidharan wrote: >> Warn when refcount > 0 in drm_vblank_cleanup. >> >> In i915 driver unload drm_vblank_get is added to test whether this patch

Re: [Intel-gfx] [RFC] drm: drm_vblank_cleanup: WARN when refcount is more than 0

2017-10-12 Thread Ville Syrjälä
On Thu, Oct 12, 2017 at 10:30:06PM +0530, PrasannaKumar Muralidharan wrote: > Warn when refcount > 0 in drm_vblank_cleanup. > > In i915 driver unload drm_vblank_get is added to test whether this patch > is working. This will be removed once the patch gets tested. > > Signed-off-by: PrasannaKumar

Re: [Intel-gfx] [RFC] drm: drm_vblank_cleanup: WARN when refcount is more than 0

2017-10-12 Thread PrasannaKumar Muralidharan
Hi Chris, On 12 October 2017 at 22:37, Chris Wilson wrote: > Quoting PrasannaKumar Muralidharan (2017-10-12 18:00:06) >> Warn when refcount > 0 in drm_vblank_cleanup. >> >> In i915 driver unload drm_vblank_get is added to test whether this patch >> is working. This will

Re: [Intel-gfx] [RFC] drm: drm_vblank_cleanup: WARN when refcount is more than 0

2017-10-12 Thread Chris Wilson
Quoting PrasannaKumar Muralidharan (2017-10-12 18:00:06) > Warn when refcount > 0 in drm_vblank_cleanup. > > In i915 driver unload drm_vblank_get is added to test whether this patch > is working. This will be removed once the patch gets tested. You want to send it as two patches. The first to

[Intel-gfx] [RFC] drm: drm_vblank_cleanup: WARN when refcount is more than 0

2017-10-12 Thread PrasannaKumar Muralidharan
Warn when refcount > 0 in drm_vblank_cleanup. In i915 driver unload drm_vblank_get is added to test whether this patch is working. This will be removed once the patch gets tested. Signed-off-by: PrasannaKumar Muralidharan --- drivers/gpu/drm/drm_vblank.c| 2 ++