summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorEric Yang <Eric.Yang2@amd.com>2018-08-15 17:35:50 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-08-27 15:21:03 -0500
commitad908423ef86f1787b635a8830d49f50ff862295 (patch)
treee9d5ba66027ec0d5e24100c584c5999fbf83ca56 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentd377ae4e3754ee3f81f63a0d9e3eadba7830d3e3 (diff)
drm/amd/display: support 48 MHZ refclk off
[Why] On PCO and up, whenever SMU receive message to indicate active display count = 0. SMU will turn off 48MHZ TMDP reference clock by writing to 1 TMDP_48M_Refclk_Driver_PWDN. Once this clock is off, no PHY register will respond to register access. This means our current sequence of notifying display count along with requesting clock will cause driver to hang when accessing PHY registers after displays count goes to 0. [How] Separate the PPSMC_MSG_SetDisplayCount message from the SMU messages that request clocks, have display own sequencing of this message so that we can send it at the appropriate time. Do not redundantly power off HW when entering S3, S4, since display should already be called to disable all streams. And ASIC soon be powered down. Signed-off-by: Eric Yang <Eric.Yang2@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions