drm/amd/powerplay: upload dpm level for smu11
authorLikun Gao <Likun.Gao@amd.com>
Mon, 7 Jan 2019 06:56:07 +0000 (14:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:58 +0000 (15:03 -0500)
commit0a49887de95c1173eeadebb15eed82397ae03e26
tree7e70f2da715499928f3bea5013df3fa3e7d003ab
parent289921b03fe5e288cf924a52018f075e1b94f446
drm/amd/powerplay: upload dpm level for smu11

Add function to support gfx_clk and mem_clk upload min and max dpm level for smu11.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Evan Quan <evan.quan@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