diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-11-26 15:05:01 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-11-29 15:23:39 +0100 |
commit | 7ac33e47d5769632010e537964c7e45498f8dc26 (patch) | |
tree | 9257fdb265c32ad3a3c54541586efaae0407b1f1 /ipc/ipc_sysctl.c | |
parent | drm/amd/powerplay: initialize the soft_regs offset in struct smu7_hwmgr (diff) | |
download | linux-7ac33e47d5769632010e537964c7e45498f8dc26.tar.xz linux-7ac33e47d5769632010e537964c7e45498f8dc26.zip |
drm/amdgpu: fix check for port PM availability
The ATPX method does not always exist on the dGPU, it may be located at
the iGPU. The parent device of the iGPU is the root port for which
bridge_d3 is false. This accidentally enables the legacy PM method which
conflicts with port PM and prevented the dGPU from powering on.
Fixes: 1db4496f167b ("drm/amdgpu: fix power state when port pm is unavailable")
Reported-and-tested-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org> # 4.8+
Diffstat (limited to 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions