diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-11-23 04:22:24 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-11-23 21:57:14 +0300 |
commit | 1db4496f167bcc7c6541d449355ade2e7d339d52 (patch) | |
tree | 0711f9a6e480b89ec14f90faef021ff9eee70efb /include/soc/brcmstb | |
parent | da7800a88c5a3b798f763d6f9f343e9a49860c4f (diff) | |
download | linux-1db4496f167bcc7c6541d449355ade2e7d339d52.tar.xz |
drm/amdgpu: fix power state when port pm is unavailable
When PCIe port PM is not enabled (system BIOS is pre-2015 or the
pcie_port_pm=off parameter is set), legacy ATPX PM should still be
marked as supported. Otherwise the GPU can fail to power on after
runtime suspend. This affected a Dell Inspiron 5548.
Ideally the BIOS date in the PCI core is lowered to 2013 (the first year
where hybrid graphics platforms using power resources was introduced),
but that seems more risky at this point and would not solve the
pcie_port_pm=off issue.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98505
Reported-and-tested-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org> # 4.8+
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/soc/brcmstb')
0 files changed, 0 insertions, 0 deletions