diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2024-11-08 09:34:46 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-11-12 17:10:40 -0500 |
commit | 3c2296b1eec55b50c64509ba15406142d4a958dc (patch) | |
tree | bcb877fc0513f25a1abe76a28ad8588ec854763f /drivers/gpu | |
parent | 91314e7dfd83345b8b820b782b2511c9c32866cd (diff) | |
download | linux-stable-3c2296b1eec55b50c64509ba15406142d4a958dc.tar.gz linux-stable-3c2296b1eec55b50c64509ba15406142d4a958dc.tar.bz2 linux-stable-3c2296b1eec55b50c64509ba15406142d4a958dc.zip |
Revert "drm/amd/display: parse umc_info or vram_info based on ASIC"
This reverts commit 2551b4a321a68134360b860113dd460133e856e5.
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
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c index 902491669cbc..c9a6de110b74 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c +++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c @@ -3127,9 +3127,7 @@ static enum bp_result bios_parser_get_vram_info( struct atom_data_revision revision; // vram info moved to umc_info for DCN4x - if (dcb->ctx->dce_version >= DCN_VERSION_4_01 && - dcb->ctx->dce_version < DCN_VERSION_MAX && - info && DATA_TABLES(umc_info)) { + if (info && DATA_TABLES(umc_info)) { header = GET_IMAGE(struct atom_common_table_header, DATA_TABLES(umc_info)); |