aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-01-22 23:13:32 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-01-23 10:24:41 -0500
commit458d876eb869d5a88b53074c6c271b8b9adc0f07 (patch)
treef9018e9bb167d534fc215a01a953904e76b59ad3 /include/linux/fpga/fpga-mgr.h
parentdead73d791455a0b4eb6f644ab592b7da6c670dc (diff)
drm/amdgpu: Avoid leaking PM domain on driver unbind (v2)
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
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions