summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
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/dc_hw_types.h
parent0b0aab86d51ee63d521f0d96ff4dfe1d6252f9b2 (diff)
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/dc_hw_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_hw_types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
index 05f030ee8cf0..4c5e797da5b1 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
@@ -415,6 +415,13 @@ struct dc_gamma {
uint16_t red[INPUT_LUT_ENTRIES];
uint16_t green[INPUT_LUT_ENTRIES];
uint16_t blue[INPUT_LUT_ENTRIES];
+
+ /* private to DC core */
+ struct dc_context *ctx;
+
+ /* private to dc_surface.c */
+ int ref_count;
+
};
/* Used by both ipp amd opp functions*/