]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: adjust power state when set od_clk
authorLikun Gao <Likun.Gao@amd.com>
Wed, 23 Jan 2019 03:10:59 +0000 (11:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:00 +0000 (15:04 -0500)
commit71e9bbdd6d496b251d02aa4649ed17fb154c4edb
treef5d61bf4e0395b23535e5989b7a894abd7878351
parentd5ecdd4a62d32801afa6bf9b94fa52e21225bc13
drm/amd/powerplay: adjust power state when set od_clk

Expose the function of adjust_power_state_dynamic to make it common to
other functions.
Add the operate of adjust powet state when set od percentage or
overdrive commit dpm table.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/vega20_ppt.c