drm/amd/pp: Move smu_version to common code
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 19 Dec 2017 06:04:24 +0000 (14:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Dec 2017 16:56:48 +0000 (11:56 -0500)
commitd100033b2a48ac0bdbb19719ee474bea73855a99
tree6f0d68e15410bf1f876f1281790bef2482256230
parent04a0d2d9a6ee9dad813efadc653a7708220f9de8
drm/amd/pp: Move smu_version to common code

Move the smu_version to struct hwmgr, so it can be shared
by other asics.

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>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h