summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-07-20 11:43:32 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:15:35 -0400
commite12cfcb1d447cc937d1abc6f4aab8bbe5f88542e (patch)
tree92fc6fef16ac8e946d88ba7136607b304f7f1494 /drivers/gpu/drm/amd/display/dc/core/dc_stream.c
parent08b1688620426ad3e09fc7a98aabc28dda30cde6 (diff)
downloadop-kernel-dev-e12cfcb1d447cc937d1abc6f4aab8bbe5f88542e.zip
op-kernel-dev-e12cfcb1d447cc937d1abc6f4aab8bbe5f88542e.tar.gz
drm/amd/display: Roll core_surface into dc_surface
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/core/dc_stream.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
index ead7b63..73712fd 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
@@ -157,7 +157,7 @@ alloc_fail:
return NULL;
}
-const struct dc_stream_status *dc_stream_get_status(
+struct dc_stream_status *dc_stream_get_status(
const struct dc_stream *dc_stream)
{
uint8_t i;
@@ -252,7 +252,7 @@ bool dc_stream_set_cursor_position(
!pipe_ctx->ipp || !pipe_ctx->surface)
continue;
- if (pipe_ctx->surface->public.address.type
+ if (pipe_ctx->surface->address.type
== PLN_ADDR_TYPE_VIDEO_PROGRESSIVE)
pos_cpy.enable = false;
OpenPOWER on IntegriCloud