BACKPORT: FROMLIST: 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.

(git am from

Backport: Apply changes to cz_hwmgr.c

TEST= build and deploy kernel.

Change-Id: I818e022580a25ab1e510a2479a70312b0d8a944c
Signed-off-by: suresh guttula <>
Commit-Ready: Suresh Guttula <>
Tested-by: Daniel Kurtz <>
Reviewed-by: Deepak Sharma <>
Reviewed-by: Daniel Kurtz <>
(cherry picked from commit a4e88991935c0a4168858ff57293bad561805c03)
Commit-Queue: Daniel Kurtz <>
2 files changed