]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: check pipe_ctx is split pipe or not
authorPaul Hsieh <paul.hsieh@amd.com>
Thu, 9 Jan 2020 07:11:06 +0000 (15:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jan 2020 21:55:27 +0000 (16:55 -0500)
commit14ae7665e70a982b3653f2aa024251d69d89f81c
tree3b3e28f26eb36ebbf17adbb53c9cde2da3f16af3
parent830821a64db63026a8b7414b2b539f262821ad23
drm/amd/display: check pipe_ctx is split pipe or not

[Why]
Driver use pipe_ctx to reallocate payload may cause allocate
payload twice on same sink with split pipe.

[How]
Drvier must to check pipe_ctx is split pipe or not to avoid
reallocate payload twice on same sink.

Signed-off-by: Paul Hsieh <paul.hsieh@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c