drm/amd/powerplay: implement feature get&set functions
authorKevin Wang <Kevin1.Wang@amd.com>
Wed, 26 Dec 2018 08:13:09 +0000 (16:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:57 +0000 (15:03 -0500)
commit2f25158d7db8a435a65f22ca194fc461cb26db82
treec9abad2a935c2bacc06cc232e7b3f13b88534690
parent6b816d7316397b5898609e8da31c33790ef34ea0
drm/amd/powerplay: implement feature get&set functions

add smu feature operation function helper to deal with smu feature
bitmap.

Signed-off-by: Kevin Wang <Kevin1.Wang@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/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h