Signed-off-by: Harry Wentland <harry.wentl...@amd.com>
Reviewed-by: Harry Wentland <harry.wentl...@amd.com>
Reviewed-by: Tony Cheng <tony.ch...@amd.com>
---
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 2 +-
 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 b3f7b44d5656..7240a7028fa5 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 */
-- 
2.11.0

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to