drm/amdgpu/discovery: fix calculations of some gfx info
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Thu, 21 Feb 2019 06:05:47 +0000 (14:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:58:21 +0000 (18:58 -0500)
commit987da7294bdf71fb1b4456cccb13e5cb2469f1aa
tree47f8a7d0855c4407646737a33603ebafa3b4cd55
parentf39f5bb1c9d68d557ff1539fea7adfe7c4d4ed7a
drm/amdgpu/discovery: fix calculations of some gfx info

fix gfx info table handling.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c