Commit d5b3e4cf authored by Rodrigo Siqueira's avatar Rodrigo Siqueira Committed by Greg Kroah-Hartman
Browse files

drm/amd/display: Copy DC context in the commit streams



[ Upstream commit 0e986cea ]

DC adds an instance of DML (which contains VBA) to each context, and
multiple threads might write back to the global VBA resulting in data
overwriting. To keep the consistency with other parts of the DC code,
this commit changes dc_commit_streams to copy the current DC state, and
as a result, it also changes the function signature to expect streams
instead of a context.

Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Co-developed-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 59de751e ("drm/amd/display: add ODM case when looking for first split pipe")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4efb2d22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment