summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dml
diff options
context:
space:
mode:
authorQingqing Zhuo <qingqing.zhuo@amd.com>2020-07-30 15:35:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-08-17 14:08:21 -0400
commitce271b40a91f781af3dee985c39e841ac5148766 (patch)
tree83b064a5405d932bfd349d387c6353bf0acbec27 /drivers/gpu/drm/amd/display/dc/dml
parentccc875052f829a03d1c9f67fc3a8709fe6c67c31 (diff)
downloadlinux-ce271b40a91f781af3dee985c39e841ac5148766.tar.bz2
drm/amd/display: Screen corruption on dual displays (DP+USB-C)
[why] Current pipe merge and split logic only supports cases where new dc_state is allocated and relies on dc->current_state to gather information from previous dc_state. Calls to validate_bandwidth on UPDATE_TYPE_MED would cause an issue because there is no new dc_state allocated, and data in dc->current_state would be overwritten during pipe merge. [how] Only allow validate_bandwidth when new dc_state space is created. Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dml')
0 files changed, 0 insertions, 0 deletions