OSDN Git Service

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>
Mon, 19 Feb 2018 19:17:30 +0000 (14:17 -0500)
commitf4791779ae3dc4f366cfd990a549399c950ab04f
treec9510f0069ca0470697a288d4b3656eadbe6c86b
parentc7e74f49598d3b0a52c30a9a333e5d19ccc8a833
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