]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: optimize AC timing programming
authorEvan Quan <evan.quan@amd.com>
Thu, 18 Jun 2020 08:42:36 +0000 (16:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Oct 2020 15:58:15 +0000 (11:58 -0400)
commit70d68f90a5ffff5ad5aa3081f6989940570ccffc
tree2fd974c730e8cb4b86baf3c4e23fe31c16280487
parentccc47aa1a2feb3787f7d9574204b3a72a3ffc192
drm/amd/pm: optimize AC timing programming

Programming AC Timing Parameters is only dependent on MCLK.
No need to nest loop for each SCLK DPM level.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c