drm/amd/display: Make create_stream_for_sink more consistent
authorHarry Wentland <harry.wentland@amd.com>
Mon, 18 Dec 2017 18:48:12 +0000 (13:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Mar 2018 21:27:30 +0000 (16:27 -0500)
commit52f401f9019975350bfd53e00026772fccde63fe
treeea9941ceef480cb3d3747e5f79ec48ddeab3217f
parentdb195488661ef397fe1a3af745a11aa2d1b20940
drm/amd/display: Make create_stream_for_sink more consistent

We've got a helper function to call dc_create_stream_for_sink and one
other place that calls it directly. Make sure we call the helper
functions always since we need to update a bunch of things in stream and
don't want to miss that.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c