]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/dc: Trigger set power state task when display configuration changes
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 14 Sep 2018 03:32:52 +0000 (11:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 02:09:03 +0000 (21:09 -0500)
commit40d0ebd98cba7c08e3acb28be98e5b012ed51476
tree73d282f2125d9834c817a78b924dd26d7aaf31a2
parentbf78296ab1cb215d0609ac6cff4e43e941e51265
drm/amd/dc: Trigger set power state task when display configuration changes

Revert "drm/amd/display: Remove call to amdgpu_pm_compute_clocks"

This reverts commit dcd473770e86517543691bdb227103d6c781cd0a.

when display configuration changes, dc need to update the changes
to powerplay, also need to trigger a power state task.
amdgpu_pm_compute_clocks is the interface to set power state task
either dpm enabled or powerplay enabled

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c