drm/amd/pm: use pm_runtime_resume_and_get
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 6 Sep 2024 11:51:39 +0000 (13:51 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Oct 2024 18:02:25 +0000 (14:02 -0400)
commitded57e495158175c61f14662741ab4bd613c5bd0
tree16ff534bd7e92a5109ff892015cc06b8860a3326
parentb0fca3275526db94e64106fa86473bb3a8ea795f
drm/amd/pm: use pm_runtime_resume_and_get

Using pm_runtime_resume_and_get over pm_runtime_get_sync is recommended.

Tested-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c