]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add function to get the pipe from the stream context
authorLeo (Hanghong) Ma <hanghong.ma@amd.com>
Thu, 10 Mar 2022 22:20:35 +0000 (17:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Mar 2022 18:41:10 +0000 (14:41 -0400)
commit4bc518772dbd6e4badf9b309256bf3a31a1b7c75
treee658f15e156fd0300397542d754e4d58ca4f027a
parentcf243ff87d2b731a257918a23c3dd1390145b97a
drm/amd/display: Add function to get the pipe from the stream context

[Why]
We need a helper function in dc to grab the pipe from the stream
context.

[How]
Add it.

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Agustin Gutierrez <agustin.gutierrez@amd.com>
Signed-off-by: Leo (Hanghong) Ma <hanghong.ma@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
drivers/gpu/drm/amd/display/dc/dc_stream.h