drm/amdgpu/atomfirmware: fix vram_info fetching for renoir
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Jun 2020 21:55:57 +0000 (17:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Jul 2020 16:02:57 +0000 (12:02 -0400)
commitfe098a5d6443bebfc0e5a1a567cb0d1f9255a2b3
tree835c9e9bbfd663068555fbe5879ebe4b966158d7
parent9822ba2ead1baa3de4860ad9472f652c4cc78c9c
drm/amdgpu/atomfirmware: fix vram_info fetching for renoir

Renoir uses integrated_system_info table v12.  The table
has the same layout as v11 with respect to this data.  Just
reuse the existing code for v12 for stable.

Fixes incorrectly reported vram info in the driver output.

Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c