Re: [Intel-gfx] [PATCH v2] drm/i915: Cancel the hotplug work when unregistering the connector

2017-10-25 Thread Manasi Navare
On Wed, Oct 25, 2017 at 05:52:35PM +0100, Chris Wilson wrote: > Quoting Maarten Lankhorst (2017-10-09 11:33:21) > > Op 09-10-17 om 11:59 schreef Chris Wilson: > > > Quoting Maarten Lankhorst (2017-10-09 10:41:29) > > >> Op 06-10-17 om 19:18 schreef Chris Wilson: > > >>> When we unregister the

Re: [Intel-gfx] [PATCH v2] drm/i915: Cancel the hotplug work when unregistering the connector

2017-10-25 Thread Chris Wilson
Quoting Maarten Lankhorst (2017-10-09 11:33:21) > Op 09-10-17 om 11:59 schreef Chris Wilson: > > Quoting Maarten Lankhorst (2017-10-09 10:41:29) > >> Op 06-10-17 om 19:18 schreef Chris Wilson: > >>> When we unregister the connector, we may have a pending hotplug work. > >>> This needs to be cancel

Re: [Intel-gfx] [PATCH v2] drm/i915: Cancel the hotplug work when unregistering the connector

2017-10-09 Thread Maarten Lankhorst
Op 09-10-17 om 11:59 schreef Chris Wilson: > Quoting Maarten Lankhorst (2017-10-09 10:41:29) >> Op 06-10-17 om 19:18 schreef Chris Wilson: >>> When we unregister the connector, we may have a pending hotplug work. >>> This needs to be cancel early during the teardown so that it does not >>> fire

Re: [Intel-gfx] [PATCH v2] drm/i915: Cancel the hotplug work when unregistering the connector

2017-10-09 Thread Chris Wilson
Quoting Maarten Lankhorst (2017-10-09 10:41:29) > Op 06-10-17 om 19:18 schreef Chris Wilson: > > When we unregister the connector, we may have a pending hotplug work. > > This needs to be cancel early during the teardown so that it does not > > fire after we have freed the connector. Or else we

Re: [Intel-gfx] [PATCH v2] drm/i915: Cancel the hotplug work when unregistering the connector

2017-10-09 Thread Maarten Lankhorst
Op 06-10-17 om 19:18 schreef Chris Wilson: > When we unregister the connector, we may have a pending hotplug work. > This needs to be cancel early during the teardown so that it does not > fire after we have freed the connector. Or else we may see something like: Well the nice thing is even if

[Intel-gfx] [PATCH v2] drm/i915: Cancel the hotplug work when unregistering the connector

2017-10-06 Thread Chris Wilson
When we unregister the connector, we may have a pending hotplug work. This needs to be cancel early during the teardown so that it does not fire after we have freed the connector. Or else we may see something like: DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock)) [ cut here ]