drm/amd/powerplay: add function to write pptable for smu11 (v2)
authorLikun Gao <Likun.Gao@amd.com>
Thu, 13 Dec 2018 11:22:30 +0000 (19:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:56 +0000 (15:03 -0500)
commit863651b6faddec3984ba20ad9f3f921271d0a3ab
tree8dff16bf35c72cc33f0297cf8925cf899b2267fc
parent29eed6fafdbda836f82b0c5c992cc8a39e884c00
drm/amd/powerplay: add function to write pptable for smu11 (v2)

Add smu_v11_0_write_pptable and smu_v11_0_copy_table_to_smc function for smu11.

v2: fix the build warning. (Ray)

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/smu_v11_0.c