]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
drm/amd/powerplay: Partially revert change initialize platform caps
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 14 Sep 2016 08:28:01 +0000 (16:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Sep 2016 19:52:51 +0000 (15:52 -0400)
partially revert commit I36f3c9e3a28cbf290652edfb6e19109da660c4f1
this will lead APU can't work.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c

index 1b3151ce8f9e52eaf3fd0564bb1eded2fde238fc..524d0dd4f0e9fd13bc0976977d2980facb847b49 100644 (file)
@@ -657,18 +657,12 @@ void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr)
        phm_cap_set(hwmgr->platform_descriptor.platformCaps,
                PHM_PlatformCaps_DynamicPatchPowerState);
 
-       phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-                        PHM_PlatformCaps_TablelessHardwareInterface);
-
        phm_cap_set(hwmgr->platform_descriptor.platformCaps,
                PHM_PlatformCaps_EnableSMU7ThermalManagement);
 
        phm_cap_set(hwmgr->platform_descriptor.platformCaps,
                        PHM_PlatformCaps_DynamicPowerManagement);
 
-       phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-                       PHM_PlatformCaps_UnTabledHardwareInterface);
-
        phm_cap_set(hwmgr->platform_descriptor.platformCaps,
                                        PHM_PlatformCaps_SMC);