summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-02-27 14:09:40 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-03-05 15:38:20 -0500
commit65ad7cac3866f5fa80dcef3e5048a839046d6a46 (patch)
tree1e5e50ed45d949c0d7dd2966bee06fdad681695d /drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
parenta2c120ce6b686c753968b7b1293c7bb878440b7f (diff)
downloadlinux-65ad7cac3866f5fa80dcef3e5048a839046d6a46.tar.bz2
drm/amd/pp: Refine powerplay instance
Include adev in powerplay instance. so can visit adev directly instand of through cgs interface. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/hwmgr.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/hwmgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
index 77d7f49564c4..bb50cc2b4af1 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
@@ -700,6 +700,7 @@ enum PP_TABLE_VERSION {
* The main hardware manager structure.
*/
struct pp_hwmgr {
+ void *adev;
uint32_t chip_family;
uint32_t chip_id;
uint32_t smu_version;