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

PrasannaKumar Muralidharan prasannatsmkumar at gmail.com
Thu Oct 12 17:10:51 UTC 2017


Hi Chris,

On 12 October 2017 at 22:37, Chris Wilson <chris at chris-wilson.co.uk> 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 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

True. That's why I marked it as RFC. I hope this will trigger Intel
graphics driver CI so I can wait for the outcome and send a single
patch based on the result. Will that work?

Thanks,
PrasannaKumar


More information about the Intel-gfx mailing list