commit | 84b89bdcedf878053e53b1823a08bd6d5d525b6a | [log] [tgz] |
---|---|---|
author | Lukas Wunner <lukas@wunner.de> | Wed Jun 08 18:47:27 2016 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Jun 24 08:49:35 2016 +0200 |
tree | fe7b5094f67564b715d5168c2413760f57880560 | |
parent | 4d0f0b988e79db9f9cb4ffbd736a7d6e85611f63 [diff] |
drm/amdgpu: Turn off CRTCs on driver unload amdgpu leaks a runtime pm ref if at least one CRTC is enabled on unload. The ref is taken by amdgpu_crtc_set_config() and held as long as a CRTC is in use. Fix by turning off all CRTCs on unload. Cc: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Lukas Wunner <lukas@wunner.de> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/7bf8d9ceb9d343a7495788667e6da170b8fd3af1.1465392124.git.lukas@wunner.de