diff options
author | Eric Huang <JinHuiEric.Huang@amd.com> | 2016-04-15 17:14:53 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-04 20:29:59 -0400 |
commit | 92dea67dd682e56c7a5deebeb7d99de5f4ffcedf (patch) | |
tree | 3d1c1f37f491ef85d83be59e85eda01bb56efb79 /drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h | |
parent | 65ba4f227c2f9318551b0faad5c08e31b55ba598 (diff) | |
download | op-kernel-dev-92dea67dd682e56c7a5deebeb7d99de5f4ffcedf.zip op-kernel-dev-92dea67dd682e56c7a5deebeb7d99de5f4ffcedf.tar.gz |
drm/amd/powerplay: revise reading/writing pptable on Tonga
Change the way we store pptables in the driver to better
facilitate eventual runtime updates for debugging.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h index f88d3bb..c6a6b40 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h @@ -353,6 +353,8 @@ struct tonga_hwmgr { bool acp_power_gated; /* 1: gated, 0:not gated */ bool pg_acp_init; + /* soft pptable for re-uploading into smu */ + void *soft_pp_table; }; typedef struct tonga_hwmgr tonga_hwmgr; |