diff options
author | 2019-09-23 15:02:56 +0800 | |
---|---|---|
committer | 2019-10-03 09:11:01 -0500 | |
commit | 068ad870bbd8f4f2c5b2fd4977a4f3330c9988f4 (patch) | |
tree | 2a615c5a9d080cc29bf9a4083c1ee2ae9d0b0139 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | |
parent | drm/amd/powerplay: Add mode2 mode for GPU RESET in SMU (diff) | |
download | wireguard-linux-068ad870bbd8f4f2c5b2fd4977a4f3330c9988f4.tar.xz wireguard-linux-068ad870bbd8f4f2c5b2fd4977a4f3330c9988f4.zip |
drm/amd/powerplay: A workaround to GPU RESET on APU
Changes to function "smu_suspend" in amdgpu_smu.c is a workaround.
We should get real information about if baco is enabled or not, while we
always consider APU SMU feature as enabled in current code.
I know APU do not support baco mode for GPU reset, so I use
"adev->flags" to skip function "smu_feature_is_enabled".
Signed-off-by: chen gong <curry.gong@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h')
0 files changed, 0 insertions, 0 deletions