OSDN Git Service

drm/amdgpu/pm: Add notification for no DC support
authorBokun Zhang <bokun.zhang@amd.com>
Mon, 14 Aug 2023 21:06:45 +0000 (17:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2023 21:52:10 +0000 (17:52 -0400)
commit89df3dbeee40216ff23c1556bdfa8e653f296020
treef1deb7eddf194ac09435b341149aba809a01ba0b
parent44e60b14d5a72f91fd0bdeae8da59ae37a3ca8e5
drm/amdgpu/pm: Add notification for no DC support

- There is a DPM issue where if DC is not present,
  FCLK will stay at low level.
  We need to send a SMU message to configure the DPM

- Reuse smu_v13_0_notify_display_change() for this purpose

Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Bokun Zhang <bokun.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_0_ppsmc.h
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c