drm/amd/powerplay: add interface for getting workload type
authorPrike Liang <Prike.Liang@amd.com>
Mon, 23 Sep 2019 06:42:36 +0000 (14:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:04 +0000 (09:11 -0500)
commit665499c619f1b040a6a4155f064320427565087c
tree4eca60c6910aca3bf7f32bd49caffa54ac8a9967
parent47e56b5318dbb783e7248d5f61fec1d4e6398e48
drm/amd/powerplay: add interface for getting workload type

The workload type was got from the input of power profile mode.

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