drm/amd/powerplay: add vega20_find/force_higest/lowest_dpm for SMU11 (v2)
authorChengming Gui <Jack.Gui@amd.com>
Fri, 18 Jan 2019 02:09:46 +0000 (10:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:00 +0000 (15:04 -0500)
commit78ff4a33ca67d0c50dd57b507169c5988e8c9fcb
treee520af6705b084f275d6930936e42b1af1494a62
parent4dd35181ee4482ed3de0205ca7568ee0d838f34a
drm/amd/powerplay: add vega20_find/force_higest/lowest_dpm for SMU11 (v2)

add vega20_find_highest_dpm_level, vega20_find_lowest_dpm_level,
    vega20_force_highest_dpm and vega20_force_lowest_dpm functions
    to support sys interface for SMU11.

v2: fix highest/lowest implementation changes error.

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Huang Rui <ray.huang@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