]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: support the function to change power profile mode for vangogh
authorXiaojian Du <Xiaojian.Du@amd.com>
Tue, 12 Jan 2021 11:10:25 +0000 (19:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:52:28 +0000 (23:52 -0500)
commita795bfe097a5ffb86f591dcf73a68cfe0f0316f2
treea12c3c41d6c016aded5a35b7f4117e174c6cd228
parentbe085b8e44b86246f29d572e740adfafd4ad085a
drm/amd/pm: support the function to change power profile mode for vangogh

This patch is to support the function to change power profile mode for
vangogh. Vangogh supports 5 kinds of power profile mode:
"FULL SCREEN 3D", "VIDEO", "VR", "COMPUTE" and "CUSTOM".

Signed-off-by: Xiaojian Du <Xiaojian.Du@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/smu11/vangogh_ppt.c