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>
Mon, 19 Feb 2018 19:19:56 +0000 (14:19 -0500)
commit15b9bc9aa8b551a59f555a61bc575c167e201adc
tree40403eac57a16d5454dd5699f4d5c117c625fc94
parent7bb0d4b986ea0fa144c459a7e4d5fd6676dcc039
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