Skip to content

Commit

Permalink
Revert "drm/amd/display: parse umc_info or vram_info based on ASIC"
Browse files Browse the repository at this point in the history
This reverts commit 694c797.

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
(cherry picked from commit 3c2296b)
Cc: stable@vger.kernel.org # 6.11.x
  • Loading branch information
Alex Deucher committed Nov 12, 2024
1 parent 4bb2f52 commit 5f77ee2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 5f77ee2

Please sign in to comment.