OSDN Git Service

drm/amd/powerplay: implement the is_dpm_running()
authorPrike Liang <Prike.Liang@amd.com>
Fri, 3 Apr 2020 04:26:15 +0000 (12:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Apr 2020 21:22:02 +0000 (17:22 -0400)
commit4ee2bb22ddb53a2eafc675690d0d67452029ca37
tree3f456f6f0e832b78f6fcbd424eca627285287cd2
parent36a5a5816103ea96a24ac93baff8c8dc248aae1e
drm/amd/powerplay: implement the is_dpm_running()

As the pmfw hasn't exported the interface of SMU feature
mask to APU SKU so just force on all the features to driver
inquired interface at early initial stage.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/renoir_ppt.c