OSDN Git Service

drm/amd/display: fix an error check condition for synced pipes
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 15 Dec 2022 22:07:55 +0000 (17:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Jan 2023 20:39:33 +0000 (15:39 -0500)
commit762e8febab9db16fb7b3bc7f07fe27f6f544325a
tree24bc05504bbc66921da490dd4fcfd4900c373407
parent21f6be48f813fa3d7f4557d1c190ba9d51e90f80
drm/amd/display: fix an error check condition for synced pipes

Checking for disabled master pipe on a timing synchronized pipe is
incorrect in the case of ODM combine. This case is acceptable as long as
the disabled master pipe is part of the ODM tree. Skip printing error
message if this condition holds true.

Tested-by: Daniel Wheeler <Daniel.Wheeler@amd.com>
Reviewed-by: Dillon Varone <Dillon.Varone@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c