drm/amd/display: Copy hfvsif_infopacket when stream update
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 14 May 2019 13:19:01 +0000 (09:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jun 2022 01:38:41 +0000 (21:38 -0400)
[Why & How]
Miss to copy hfvsif_infopacket when copying stream updates.
Check and copy it.

Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@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/core/dc.c

index 7d71fd6..400b37e 100644 (file)
@@ -2658,6 +2658,9 @@ static void copy_stream_update_to_stream(struct dc *dc,
        if (update->dpms_off)
                stream->dpms_off = *update->dpms_off;
 
+       if (update->hfvsif_infopacket)
+               stream->hfvsif_infopacket = *update->hfvsif_infopacket;
+
        if (update->vsc_infopacket)
                stream->vsc_infopacket = *update->vsc_infopacket;