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 18:03:47 +0000 (14:03 -0400)
commitf57b38ac85a01bf03020cc0a9761d63e5c0ce197
tree6eacc079277f807c6ee2bb8368fb541f701b731c
parented569e1279a3045d6b974226c814e071fa0193a6
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>
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c