提交 b3d6c3f0 编写于 作者: H Harry Wentland 提交者: Alex Deucher

drm/amd/display: Minor fix for dc_sink refactor

Signed-off-by: NHarry Wentland <harry.wentland@amd.com>
Reviewed-by: NHarry Wentland <Harry.Wentland@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册