diff options
| author | Eric Bernstein <[email protected]> | 2018-10-29 20:05:47 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-11-19 20:27:40 +0000 |
| commit | 00737c59a231a4eab955f6cd53c88e7c6449abd0 (patch) | |
| tree | 2e504ac04f6aad5446b03c930969e5d0bb07c5d1 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amd/display: retry 3 times before successfully reading (diff) | |
| download | kernel-00737c59a231a4eab955f6cd53c88e7c6449abd0.tar.gz kernel-00737c59a231a4eab955f6cd53c88e7c6449abd0.zip | |
drm/amd/display: get tail pipe before aquire free pipe
[Why]
For some complicated blending transition cases, the head
pipe of the second stream may end up being a higher pipe
index than the free pipe. In those cases dc_add_plane_to_context
will incorrectly set the tail_pipe to the free pipe, which
will cause the top_pipe and bottom_pipe to be the same
[How]
Move the call to resource_get_tail_pipe_for_stream() to be
before call to acquire_free_pipe_for_stream().
Signed-off-by: Eric Bernstein <[email protected]>
Reviewed-by: Dmytro Laktyushkin <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
