]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3563575203a11fc7ea31f8d511a79df4467deb6
tree40403eac57a16d5454dd5699f4d5c117c625fc94
parentd043c0e4c575962485afc6674afe0db87d4ac2b9
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