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

Chris Wilson chris at chris-wilson.co.uk
Thu Oct 12 17:07:59 UTC 2017


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 add the debug
infrastructure, then the second to trigger it. We obviously don't want
to commit a patch that itself warns about the bug it introduces! ;)
-Chris


More information about the Intel-gfx mailing list