]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Fix failure to read vram info due to static BP_RESULT
authorHamish Claxton <hamishclaxton@gmail.com>
Tue, 5 Nov 2024 00:42:31 +0000 (10:42 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Nov 2024 22:37:38 +0000 (17:37 -0500)
commit4bb2f52ac01b8d45d64c7c04881207722e5e6fe4
treebcdf4040f6edcee6acfaccdc18770f381bda7654
parent5a67c31669a3aca814a99428328d2be40d82b333
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: 00c391102abc ("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
(cherry picked from commit 91314e7dfd83345b8b820b782b2511c9c32866cd)
Cc: stable@vger.kernel.org # 6.11.x
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c