OSDN Git Service

drm/amd/powerplay:add hwmgr callback to update nbpstate on Carrizo
authorGuttula, Suresh <Suresh.Guttula@amd.com>
Fri, 16 Nov 2018 06:50:32 +0000 (06:50 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Nov 2018 20:47:19 +0000 (15:47 -0500)
commite5bbf0e9ef0d1875050201eeb0239b040f09ed5b
tree7ff1abc5cdc7fd2c752d06e59300937b65ef21a2
parent00fedbe629bfc0a51c07b6e665265ce31d8b6f3c
drm/amd/powerplay:add hwmgr callback to update nbpstate on Carrizo

Add hwmgr callback "update_nbdpm_pstate".This will use to access
"cz_nbdpm_pstate_enable_disable" function to enable/disable low
memory pstate.

Signed-off-by: suresh guttula <suresh.guttula@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h