Files
linux/drivers/gpu/drm
Qingqing Zhuo b6dead6f20 drm/amd/display: Screen corruption on dual displays (DP+USB-C)
[ Upstream commit ce271b40a9 ]

[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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 10:08:29 +01:00
..
2020-04-02 14:16:44 +02:00
2020-10-29 10:07:30 +01:00
2020-07-20 08:46:06 +08:00
2020-07-26 21:41:59 +02:00
2020-10-29 10:08:15 +01:00
2020-10-29 10:07:38 +01:00
2020-04-03 17:11:41 +02:00
2020-04-02 14:16:45 +02:00
2020-04-28 16:05:15 +02:00
2020-04-28 15:15:59 +02:00
2020-04-02 14:16:46 +02:00
2020-04-03 17:11:41 +02:00
2020-04-03 17:11:41 +02:00
2020-04-28 15:05:19 +02:00
2020-03-16 09:27:09 +01:00
2020-08-19 08:26:24 +02:00
2020-04-29 18:44:26 +03:00
2020-07-26 18:04:06 +02:00
2020-04-03 17:11:41 +02:00
2020-04-28 16:05:15 +02:00