commit | 2f9ba199daf32dded4ef0237cd12efac451ebf47 | [log] [tgz] |
---|---|---|
author | Grazvydas Ignotas <notasas@gmail.com> | Mon Oct 03 00:06:46 2016 +0300 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Oct 06 12:39:03 2016 -0400 |
tree | a050ecd0a9ec5dbf8de6df415b91a3dbb7040f73 | |
parent | 140c94da3c3338c0ff4cc127cf9bec87905ca83c [diff] |
drm/amdgpu: warn if dp aux is still attached on free If this happens (and it recently did), we free a structure while part of it is still in use, which results in non-obvious crashes. The way it's detached is not trivial (DRM core has to call the connector .destroy callback and things must be torn down in the right order), so better detect it and warn early. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>