]> git.baikalelectronics.ru Git - kernel.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)
commit4918d500495454fe49e83546d45a14326211b0b1
tree3b3e28f26eb36ebbf17adbb53c9cde2da3f16af3
parentf3fb31bdc0673cff13caf2a2019d5befe0a27487
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