drm/amd/display: assign new stream id in dc_copy_stream
authorWenjing Liu <Wenjing.Liu@amd.com>
Tue, 7 May 2019 19:18:44 +0000 (15:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 May 2019 15:39:30 +0000 (10:39 -0500)
commitb1432fcbdbea5de6e4ec2e1b2fa2b3c13ade4785
tree4ced8b8147e9a21478656751260935cc2c69d421
parenta7f90cbc0ee416ffcb2097583bf5364ffc3818bb
drm/amd/display: assign new stream id in dc_copy_stream

[why]
stream id should uniquely identify an instance of stream.
the copy constructor should be treated as a new
stream instance.

[how]
assign a new stream id in this copy constructor.

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