diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2018-01-23 07:13:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-28 12:19:44 +0300 |
commit | 4517799bf6556d2cffc0dd3a0cfb53cde2ada47d (patch) | |
tree | 2791ccb638f5671e367b96d18f045ff637a2553e /scripts/Makefile.asm-generic | |
parent | 14fdf444827770fcba67f3487924096bffd5ce19 (diff) | |
download | linux-4517799bf6556d2cffc0dd3a0cfb53cde2ada47d.tar.xz |
drm/amdgpu: Avoid leaking PM domain on driver unbind (v2)
commit 458d876eb869d5a88b53074c6c271b8b9adc0f07 upstream.
We only support vga_switcheroo and runtime pm on PX/HG systems
so forcing runpm to 1 doesn't do anything useful anyway.
Only call vga_switcheroo_init_domain_pm_ops() for PX/HG so
that the cleanup path is correct as well. This mirrors what
radeon does as well.
v2: rework the patch originally sent by Lukas (Alex)
Acked-by: Lukas Wunner <lukas@wunner.de>
Reported-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de> (v1)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.asm-generic')
0 files changed, 0 insertions, 0 deletions