Skip to content

Commit 91314e7

Browse files
Verequiesalexdeucher
authored andcommitted
drm/amd/display: Fix failure to read vram info due to static BP_RESULT
The static declaration causes the check to fail. Remove it. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3678 Fixes: 00c3911 ("drm/amd/display: Add misc DC changes for DCN401") Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Hamish Claxton <hamishclaxton@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: aurabindo.pillai@amd.com Cc: hamishclaxton@gmail.com
1 parent e8fc090 commit 91314e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3122,7 +3122,7 @@ static enum bp_result bios_parser_get_vram_info(
31223122
struct dc_vram_info *info)
31233123
{
31243124
struct bios_parser *bp = BP_FROM_DCB(dcb);
3125-
static enum bp_result result = BP_RESULT_BADBIOSTABLE;
3125+
enum bp_result result = BP_RESULT_BADBIOSTABLE;
31263126
struct atom_common_table_header *header;
31273127
struct atom_data_revision revision;
31283128

0 commit comments

Comments
 (0)