]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Fix incorrect fw_state address in dmub_srv
authorLo-an Chen <lo-an.chen@amd.com>
Mon, 10 Mar 2025 06:52:22 +0000 (14:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Mar 2025 20:33:38 +0000 (16:33 -0400)
commitd60073294cc3b46b73d6de247e0e5ae8684a6241
tree240b0c2b308af6783a78ab40fd4f4a629c44cc37
parentacbf16a6ae775b4db86f537448cc466288aa307e
drm/amd/display: Fix incorrect fw_state address in dmub_srv

[WHY]
The fw_state in dmub_srv was assigned with wrong address.
The address was pointed to the firmware region.

[HOW]
Fix the firmware state by using DMUB_DEBUG_FW_STATE_OFFSET
in dmub_cmd.h.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Lo-an Chen <lo-an.chen@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit f57b38ac85a01bf03020cc0a9761d63e5c0ce197)
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c