OSDN Git Service

drm/amd/display: Add function to copy DC streams
authorWenjing Liu <Wenjing.Liu@amd.com>
Fri, 29 Mar 2019 22:22:16 +0000 (18:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Apr 2019 22:27:45 +0000 (17:27 -0500)
commit43e3ac8389ef68ab2347eb1ae4a6e5b49793614e
tree2ef10c79092ad29b9ea6b63ee54274c260c3d4e2
parent41629f02c604546e24a911413b99cd9d80e842db
drm/amd/display: Add function to copy DC streams

We'll need the ability to copy a dc_stream_state for some features.
Implement it here.

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Leo Li <sunpeng.li@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