drm/amdgpu: move runtime pm init after drm and fbdev init
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jan 2022 19:58:31 +0000 (14:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jan 2022 23:00:36 +0000 (18:00 -0500)
commitd0d66b8c66d04363eff3a5b09da4074fc1dfc758
tree3142f75b40e0a2ce263a4558dc2e30da7094044d
parent901e2be20dc55079997ea1885ea77fc72e6826e7
drm/amdgpu: move runtime pm init after drm and fbdev init

Seems more logical to enable runtime pm at the end of
the init sequence so we don't end up entering runtime
suspend before init is finished.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c