drm/amd/display: Fix lightup regression with DP2 single display configs
authorMichael Strauss <michael.strauss@amd.com>
Thu, 30 Nov 2023 15:44:36 +0000 (10:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Dec 2023 19:59:03 +0000 (14:59 -0500)
commit5a82b8d6c05f9b30828ede1b103b9ee5cb5c912e
treef6768b5890fc24203474ad3ba2aeee340da4d927
parent08daec77fddf23cd246a0662c6dc0d60229caaee
drm/amd/display: Fix lightup regression with DP2 single display configs

[WHY]
Previous fix for multiple displays downstream of DP2 MST hub caused regression

[HOW]
Match sink IDs instead of sink struct addresses

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Michael Strauss <michael.strauss@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/dml2/dml2_utils.c