Skip to content

Commit d7a6634

Browse files
committed
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 <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent 6eb3cf2 commit d7a6634

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ amdgpu_atomfirmware_get_vram_info(struct amdgpu_device *adev,
204204
(mode_info->atom_context->bios + data_offset);
205205
switch (crev) {
206206
case 11:
207+
case 12:
207208
mem_channel_number = igp_info->v11.umachannelnumber;
208209
/* channel width is 64 */
209210
if (vram_width)

0 commit comments

Comments
 (0)