drm/amd/display: Don't call amdgpu_dm_display_resume as it doesn't exist
authorMikita Lipski <mikita.lipski@amd.com>
Wed, 7 Mar 2018 21:59:43 +0000 (16:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:39 +0000 (13:07 -0500)
amdgpu_dm_display_resume was merged into dm_resume.
No need to call these functions separately.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index e42a28e3adc5179ba26faf0c6583109221cdcb70..bad9f09c588b85b1bdf92f6509b4366b5478176c 100644 (file)
@@ -1629,7 +1629,6 @@ static ssize_t s3_debug_store(struct device *device,
        if (ret == 0) {
                if (s3_state) {
                        dm_resume(adev);
-                       amdgpu_dm_display_resume(adev);
                        drm_kms_helper_hotplug_event(adev->ddev);
                } else
                        dm_suspend(adev);