drm/amd/display: Minor fix for dc_sink refactor

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Harry Wentland 2017-07-24 14:04:27 -04:00 committed by Alex Deucher
parent 3639fa6812
commit b3d6c3f0f6
2 changed files with 2 additions and 2 deletions

View File

@ -1321,7 +1321,7 @@ static struct audio *find_first_free_audio(
static void update_stream_signal(struct core_stream *stream)
{
if (stream->public.output_signal == SIGNAL_TYPE_NONE) {
const struct dc_sink *dc_sink = stream->public.sink;
struct dc_sink *dc_sink = stream->public.sink;
if (dc_sink->sink_signal == SIGNAL_TYPE_NONE)
stream->signal = stream->sink->link->connector_signal;

View File

@ -469,7 +469,7 @@ enum surface_update_type {
* Stream Interfaces
******************************************************************************/
struct dc_stream {
const struct dc_sink *sink;
struct dc_sink *sink;
struct dc_crtc_timing timing;
struct rect src; /* composition area */