OSDN Git Service

drm/amd/powerplay: Add the interface for geting dpm current power state
authorPrike Liang <Prike.Liang@amd.com>
Fri, 6 Sep 2019 07:13:03 +0000 (15:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 14:59:07 +0000 (09:59 -0500)
commit75a8957f808d7423b640b6c00c527cf655ac5bfd
treeaccbef499f38a6e41f2d8798194f906948b2e461
parentcde85ac247841d3dda4e907e1d31ba4eaf0ff7c4
drm/amd/powerplay: Add the interface for geting dpm current power state

implement the sysfs power_dpm_state

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/renoir_ppt.c