aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-07-24 15:30:17 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:15:38 -0400
commit7a6c4af6bf41516cc9e12d83cc8fcebfdd8be01c (patch)
tree6ffbb71b300a64ebe47fb08b89e72fded03be310 /drivers/gpu/drm/amd/display/dc/inc
parentdrm/amd/display: Roll gamma struct into core_gamma (diff)
downloadlinux-dev-7a6c4af6bf41516cc9e12d83cc8fcebfdd8be01c.tar.xz
linux-dev-7a6c4af6bf41516cc9e12d83cc8fcebfdd8be01c.zip
drm/amd/display: Roll core_gamma into dc_gamma
Signed-off-by: Harry Wentland <harry.wentland@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.h11
1 files changed, 0 insertions, 11 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 43e9ada278d3..5a47d4c94df6 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/core_types.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/core_types.h
@@ -40,17 +40,6 @@ struct core_stream;
#define MAX_CLOCK_SOURCES 7
-#define DC_GAMMA_TO_CORE(dc_gamma) \
- container_of(dc_gamma, struct core_gamma, public)
-
-struct core_gamma {
- struct dc_gamma public;
- struct dc_context *ctx;
-
- /* private to dc_surface.c */
- int ref_count;
-};
-
void enable_surface_flip_reporting(struct dc_surface *dc_surface,
uint32_t controller_id);