Skip to content

Commit 3c2296b

Browse files
committed
Revert "drm/amd/display: parse umc_info or vram_info based on ASIC"
This reverts commit 2551b4a. This was not the root cause. Revert. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3678 Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: aurabindo.pillai@amd.com Cc: hamishclaxton@gmail.com
1 parent 91314e7 commit 3c2296b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3127,9 +3127,7 @@ static enum bp_result bios_parser_get_vram_info(
31273127
struct atom_data_revision revision;
31283128

31293129
// vram info moved to umc_info for DCN4x
3130-
if (dcb->ctx->dce_version >= DCN_VERSION_4_01 &&
3131-
dcb->ctx->dce_version < DCN_VERSION_MAX &&
3132-
info && DATA_TABLES(umc_info)) {
3130+
if (info && DATA_TABLES(umc_info)) {
31333131
header = GET_IMAGE(struct atom_common_table_header,
31343132
DATA_TABLES(umc_info));
31353133

0 commit comments

Comments
 (0)