summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>2018-11-29 13:18:29 +0100
committerAlex Deucher <alexander.deucher@amd.com>2018-12-19 00:25:13 +0100
commitfd0853567cdf2eeddf22ba9021deedf6b1f90f7a (patch)
tree8be8e914fe3f8aa32be4ff938b6518069fad1332 /drivers
parentdrm/amd/display: Add retry to read ddc_clock pin (diff)
downloadlinux-fd0853567cdf2eeddf22ba9021deedf6b1f90f7a.tar.xz
linux-fd0853567cdf2eeddf22ba9021deedf6b1f90f7a.zip
drm/amd/display: Fix bug with not updating VSP infoframe
[WHY] Currently, when the VSP infopacket is rebuilt in DM, it is not updated when being programmed in encoder. [HOW] Add new VSP case for update_info_frame Signed-off-by: SivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com> Reviewed-by: Anthony Koo <Anthony.Koo@amd.com> Acked-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
index aa11a176d673..3a71049b61cb 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -1467,7 +1467,8 @@ static void commit_planes_do_stream_update(struct dc *dc,
if ((stream_update->hdr_static_metadata && !stream->use_dynamic_meta) ||
stream_update->vrr_infopacket ||
- stream_update->vsc_infopacket) {
+ stream_update->vsc_infopacket ||
+ stream_update->vsp_infopacket) {
resource_build_info_frame(pipe_ctx);
dc->hwss.update_info_frame(pipe_ctx);
}