Skip to content

Commit 6690808

Browse files
Alvin Leealexdeucher
authored andcommitted
drm/amd/display: Revert " drm/amd/display: Use channel_width = 2 for vram table 3.0"
[Description] Revert commit fec05ad ("drm/amd/display: Use channel_width = 2 for vram table 3.0") Because the issue is being fixed from VBIOS side. Reviewed-by: Samson Tam <samson.tam@amd.com> Acked-by: Wayne Lin <wayne.lin@amd.com> Signed-off-by: Alvin Lee <alvin.lee2@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent c57a0f5 commit 6690808

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2386,13 +2386,7 @@ static enum bp_result get_vram_info_v30(
23862386
return BP_RESULT_BADBIOSTABLE;
23872387

23882388
info->num_chans = info_v30->channel_num;
2389-
/* As suggested by VBIOS we should always use
2390-
* dram_channel_width_bytes = 2 when using VRAM
2391-
* table version 3.0. This is because the channel_width
2392-
* param in the VRAM info table is changed in 7000 series and
2393-
* no longer represents the memory channel width.
2394-
*/
2395-
info->dram_channel_width_bytes = 2;
2389+
info->dram_channel_width_bytes = (1 << info_v30->channel_width) / 8;
23962390

23972391
return result;
23982392
}

0 commit comments

Comments
 (0)