drm/amd/pm: add callbacks to read/write sysfs file pp_power_profile_mode
authorXiaomeng Hou <Xiaomeng.Hou@amd.com>
Mon, 29 Mar 2021 13:27:49 +0000 (21:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:23 +0000 (16:03 -0400)
commitbd8dcea93a7d45a3366b5f3e6c341a677ff90acf
treecb8d37359429eac1fe17a81e72a2be0a28519276
parent40954754f722db4bebaf2ffc201ab1702a272494
drm/amd/pm: add callbacks to read/write sysfs file pp_power_profile_mode

Implement the sysfs API for getting/setting pp_power_profile_mode for
yellow carp.

Signed-off-by: Xiaomeng Hou <Xiaomeng.Hou@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c