aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-06-06 13:42:42 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-07-05 16:38:50 -0500
commit916ac57ffbe952c02fcd883dee28970e39366eca (patch)
tree263da047365a2bb82ee50d35cedf7bac2eb40f18 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentc9f96fd5063150dce7e71ecc508989f5ff055039 (diff)
drm/amdgpu: Move CG/PG setting out of delay worker thread
Partially revert commit 2dc80b00652f ("drm/amdgpu: optimize amdgpu driver load & resume time")' 1. CG/PG enablement are part of gpu hw ip initialize, we should wait for them complete. otherwise, there are some potential conflicts, for example, Suspend and CG enablement concurrently. 2. better run ib test after hw initialize completely. That is to say, ib test should be after CG/PG enablement. otherwise, the test will not cover the cg/pg/poweroff enable case. Reviewed-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions