[PATCH v2] drm/amdgpu: Disable RPM helpers while reprobing connectors on resume

2016-07-27 Thread Alex Deucher
On Mon, Jul 18, 2016 at 11:41 AM, Lyude wrote: > Just about all of amdgpu's connector probing functions try to acquire > runtime PM refs. If we try to do this in the context of > amdgpu_resume_kms by calling drm_helper_hpd_irq_event(), we end up > deadlocking the system. > > Since we're guaranteed

[PATCH v2] drm/amdgpu: Disable RPM helpers while reprobing connectors on resume

2016-07-18 Thread Lyude
Just about all of amdgpu's connector probing functions try to acquire runtime PM refs. If we try to do this in the context of amdgpu_resume_kms by calling drm_helper_hpd_irq_event(), we end up deadlocking the system. Since we're guaranteed to be holding the spinlock for RPM in amdgpu_resume_kms, a