aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-07-24 14:04:27 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:15:37 -0400
commitb73a22d3257f9ec237c46be12d74b58d5a925d8c (patch)
treec55b0c423db3ed022bb5b6fa1f56828eba378bd2 /drivers/gpu/drm/amd/display/dc/inc
parentdrm/amd/display: Roll sink struct into core_sink (diff)
downloadlinux-dev-b73a22d3257f9ec237c46be12d74b58d5a925d8c.tar.xz
linux-dev-b73a22d3257f9ec237c46be12d74b58d5a925d8c.zip
drm/amd/display: Roll core_sink into dc_sink
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/inc')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/core_types.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/core_types.h b/drivers/gpu/drm/amd/display/dc/inc/core_types.h
index eed31a827a90..1d733c837854 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/core_types.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/core_types.h
@@ -68,7 +68,7 @@ struct core_stream {
/* field internal to DC */
struct dc_context *ctx;
- const struct core_sink *sink;
+ struct dc_sink *sink;
/* used by DCP and FMT */
struct bit_depth_reduction_params bit_depth_params;
@@ -80,25 +80,6 @@ struct core_stream {
struct dc_stream_status status;
};
-/************ core_sink *****************/
-
-#define DC_SINK_TO_CORE(dc_sink) \
- container_of(dc_sink, struct core_sink, public)
-
-struct core_sink {
- /** The public, read-only (for DM) area of sink. **/
- struct dc_sink public;
- /** End-of-public area. **/
-
- /** The 'protected' area - read/write access, for use only inside DC **/
- /* not used for now */
- struct dc_link *link;
- struct dc_context *ctx;
-
- /* private to dc_sink.c */
- int ref_count;
-};
-
/************ link *****************/
struct link_init_data {
const struct core_dc *dc;