]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 1 Jul 2020 18:19:18 +0000 (14:19 -0400)
commitd68b2391822b9ee5ac64aa54e900ffbf8573068e
treef1bd95e737194a4f1bbc86327122edb945f7292a
parent8e0b74d3995ab8f229fe3c9474a6173304ffa660
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c