summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
diff options
context:
space:
mode:
authorTony Cheng <tony.cheng@amd.com>2017-07-22 21:58:08 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:15:32 -0400
commit7db90a6b58761577596499ddd90f3c5ace2b716d (patch)
tree685292bfc1e3ccaf1a8dced885401c72125cb219 /drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
parent8748068764e7a50ac787c1c17f402f3fbbe97ccc (diff)
downloadlinux-7db90a6b58761577596499ddd90f3c5ace2b716d.tar.gz
linux-7db90a6b58761577596499ddd90f3c5ace2b716d.tar.bz2
linux-7db90a6b58761577596499ddd90f3c5ace2b716d.zip
drm/amd/display: move ocsc programming from opp to dpp
Signed-off-by: Tony Cheng <tony.cheng@amd.com> Reviewed-by: Yuehin Lau <Yuehin.Lau@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/hw/opp.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/opp.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
index 57bdd6c8f955..ef36ffdf2a68 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
@@ -217,22 +217,6 @@ enum fmt_stereo_action {
FMT_STEREO_ACTION_UPDATE_POLARITY
};
-enum graphics_csc_adjust_type {
- GRAPHICS_CSC_ADJUST_TYPE_BYPASS = 0,
- GRAPHICS_CSC_ADJUST_TYPE_HW, /* without adjustments */
- GRAPHICS_CSC_ADJUST_TYPE_SW /*use adjustments */
-};
-
-struct default_adjustment {
- enum lb_pixel_depth lb_color_depth;
- enum dc_color_space out_color_space;
- enum dc_color_space in_color_space;
- enum dc_color_depth color_depth;
- enum pixel_format surface_pixel_format;
- enum graphics_csc_adjust_type csc_adjust_type;
- bool force_hw_default;
-};
-
enum grph_color_adjust_option {
GRPH_COLOR_MATRIX_HW_DEFAULT = 1,
GRPH_COLOR_MATRIX_SW
@@ -250,11 +234,6 @@ struct opp_grph_csc_adjustment {
int32_t grph_hue;
};
-struct out_csc_color_matrix {
- enum dc_color_space color_space;
- uint16_t regval[12];
-};
-
/* Underlay related types */
struct hw_adjustment_range {