drm/amd/display: Fix display corruption w/ VSR enable
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>
Fri, 11 Nov 2022 17:03:54 +0000 (12:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Nov 2022 14:47:14 +0000 (09:47 -0500)
commite643cd384270fd3a4b66f65f15dafc8db0607adc
tree5efa8e43f5d0f9c483f956fad8da80b235dce671
parent9b216b7e38f5381bcc3ad21c5ac614aa577ab8f2
drm/amd/display: Fix display corruption w/ VSR enable

[Why]
Brief corruption is observed on hotplug/unplug with certain display
configurations when VSR is enabled.

[How]
Work around the issue by avoiding 2to1 ODM when stream plane_count is 0.

Reviewed-by: Dillon Varone <Dillon.Varone@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@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/dcn32/dcn32_resource.c