diff options
author | Lukas Wunner <lukas@wunner.de> | 2016-06-08 18:47:27 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-06-24 08:49:35 +0200 |
commit | 84b89bdcedf878053e53b1823a08bd6d5d525b6a (patch) | |
tree | fe7b5094f67564b715d5168c2413760f57880560 /drivers/gpu/drm/drm_crtc.c | |
parent | 4d0f0b988e79db9f9cb4ffbd736a7d6e85611f63 (diff) | |
download | blackbird-op-linux-84b89bdcedf878053e53b1823a08bd6d5d525b6a.tar.gz blackbird-op-linux-84b89bdcedf878053e53b1823a08bd6d5d525b6a.zip |
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
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
0 files changed, 0 insertions, 0 deletions