]> www.infradead.org Git - users/hch/misc.git/commit
drm/amd/display: Use current_state when checking old_pipe subvp type
authorAlvin Lee <alvin.lee2@amd.com>
Tue, 14 May 2024 20:22:01 +0000 (16:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Jun 2024 15:25:13 +0000 (11:25 -0400)
commit5e211d2cf2d3b1a65b64dde4f4a9387510390692
treecd4c2ef7ab495f597884e5fc80733595386d3ae3
parent8332f1aaf571bec1c023a3b13ba35c86aaa2524d
drm/amd/display: Use current_state when checking old_pipe subvp type

[Description]
When checking the subvp type of the previous state we must
pass in current_state to the interface instead of context
otherwise we will get the wrong result.

Reviewed-by: Samson Tam <samson.tam@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c