]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Initialize replay_state to PR_STATE_INVALID
authorIvan Lipski <ivan.lipski@amd.com>
Wed, 18 Feb 2026 21:19:15 +0000 (16:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Mar 2026 21:39:02 +0000 (16:39 -0500)
commitaef8c3253e9d2f476765b76c3d0c6031b2a5b042
treedd0360b41ef5b93f140cf83708456fd67a4f9de2
parent2ab77600d1e55a042c02437326d3c7563e853c6c
drm/amd/display: Initialize replay_state to PR_STATE_INVALID

[WHY & HOW]
Initialize the replay_state variable to PR_STATE_INVALID instead of
PR_STATE_0 before retrieving the actual replay state.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_panel_replay.c