Commit b3d6c3f0 authored by Harry Wentland's avatar Harry Wentland Committed by Alex Deucher

drm/amd/display: Minor fix for dc_sink refactor

Signed-off-by: default avatarHarry Wentland <harry.wentland@amd.com>
Reviewed-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3639fa68
...@@ -1321,7 +1321,7 @@ static struct audio *find_first_free_audio( ...@@ -1321,7 +1321,7 @@ static struct audio *find_first_free_audio(
static void update_stream_signal(struct core_stream *stream) static void update_stream_signal(struct core_stream *stream)
{ {
if (stream->public.output_signal == SIGNAL_TYPE_NONE) { 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) if (dc_sink->sink_signal == SIGNAL_TYPE_NONE)
stream->signal = stream->sink->link->connector_signal; stream->signal = stream->sink->link->connector_signal;
......
...@@ -469,7 +469,7 @@ enum surface_update_type { ...@@ -469,7 +469,7 @@ enum surface_update_type {
* Stream Interfaces * Stream Interfaces
******************************************************************************/ ******************************************************************************/
struct dc_stream { struct dc_stream {
const struct dc_sink *sink; struct dc_sink *sink;
struct dc_crtc_timing timing; struct dc_crtc_timing timing;
struct rect src; /* composition area */ struct rect src; /* composition area */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment