drm/amd/display: Do not commit pipe when updating DRR
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Fri, 4 Nov 2022 19:19:22 +0000 (15:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Feb 2023 22:15:21 +0000 (17:15 -0500)
commit8f0d304d21b351d65e8c434c5399a40231876ba1
tree5047ea17a6dc7eb140a0f720c64b3d32a734b3d2
parent4f1b5e739dfd1edde33329e3f376733a131fb1ff
drm/amd/display: Do not commit pipe when updating DRR

[WHY]
DRR and Pipe cannot be updated on
the same frame, or else underflow will
occur.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.h
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h