diff options
author | Harry Wentland <harry.wentland@amd.com> | 2017-07-24 14:04:27 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 18:15:43 -0400 |
commit | b3d6c3f0f676a06820aa23c9f8590e080d6f6765 (patch) | |
tree | d8a003416d7069e4e25096a52b08ff3eef7a60fb /drivers/gpu/drm/amd | |
parent | 3639fa68122154b453eeaac840daadf3c7c56db4 (diff) | |
download | linux-b3d6c3f0f676a06820aa23c9f8590e080d6f6765.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c index dea2943392e4..eeefc9c33633 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c @@ -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; diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index f250e87d39dd..f87f6c12494c 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -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 */ |