drm/amd/display: Prevent invalid pipe connections
[Description] - Prevent ODM pipe connections between pipes that are not part of the same plane when adding a plane to context - Re-attach child pipes of ODM slice about to be disconnected to prevent any lost pipes with invalid tops/bottoms - We cannot split if head_pipe is not in ODM. Preventing this avoids creating an invalid context with an invalid pipe. Reviewed-by: NAlvin Lee <alvin.lee2@amd.com> Acked-by: NAlex Hung <alex.hung@amd.com> Signed-off-by: NEthan Bitnun <ethan.bitnun@amd.com> Tested-by: NDaniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Showing
想要评论请 注册 或 登录