]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit36c2aa60498e5beb677ff2921e2bfa705504274d
tree3142f75b40e0a2ce263a4558dc2e30da7094044d
parentf30a9b7c4f7efd3250029443b03f8acabbd2f62b
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