drm/amdgpu/powerplay: fix smu7_get_memory_type for fiji
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 22:57:13 +0000 (17:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:12 +0000 (13:43 -0500)
commitc73a3626619018adfa2bb0fa1e64310be8e73152
tree1e4b06ec30ad52f1483fdc969b9de91cdeb8fa6d
parent23b9ad21b262b9a85e9b85813e4adfcfb0dd96b3
drm/amdgpu/powerplay: fix smu7_get_memory_type for fiji

Fiji uses a different register than other smu7 asics, but
we already have this info in the base driver so just
use that.

Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c