drm/amdgpu: Unify the dm resume calls into one
authorMikita Lipski <mikita.lipski@amd.com>
Sat, 3 Feb 2018 20:19:20 +0000 (15:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Feb 2018 20:09:54 +0000 (15:09 -0500)
commit09c381e0f34abaeff68ba5ac3d949928f32757c5
tree49c10432611ef31c478c17a51b2d21f1dbdee87e
parent5893f6e8a87243c951ddcb0bb95842bd5aef4d8f
drm/amdgpu: Unify the dm resume calls into one

amdgpu_dm_display_resume is now called from dm_resume to
unify DAL resume call into a single function call

There is no more need to separately call 2 resume functions
for DM.

Initially they were separated to resume display state after
cursor is pinned. But because there is no longer any corruption
with the cursor - the calls can be merged into one function hook.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c