summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>2022-10-18 08:28:18 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-10-24 14:34:27 -0400
commit0e986cea0347902b2c72b09c8fe9c0f30d7decb4 (patch)
tree7333dbd89072aae4066976c12ed16963d0660a06 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent7b36f4d18e3e4941d12fe027ad6ad6123c257027 (diff)
drm/amd/display: Copy DC context in the commit streams
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: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Co-developed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions