diff options
author | Tyler DiBattista <tyler.dibattista@amd.com> | 2019-04-08 13:30:07 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-22 09:34:12 -0500 |
commit | 9796b71318152666f1804215922588c7edb3f4cb (patch) | |
tree | 8eee6ab20ee361a8c36bd5d8df0d71028906bb19 /drivers/gpu/drm/amd/display/dc/inc | |
parent | drm/amd/display: Integrate color transform3x4 with 3dlut tm (diff) | |
download | linux-dev-9796b71318152666f1804215922588c7edb3f4cb.tar.xz linux-dev-9796b71318152666f1804215922588c7edb3f4cb.zip |
drm/amd/display: move DWB structs and enums to dc_hw_types
[Why]
these enums/structs will be used more generically in the future
so moving it to dc_hw_types and dc_types
Signed-off-by: Tyler DiBattista <tyler.dibattista@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@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/hw/dwb.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h index c3c7a34b0ab0..d4ae6eaaeb57 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h @@ -81,16 +81,6 @@ enum dwb_frame_capture_enable { DWB_FRAME_CAPTURE_ENABLE = 1, }; -enum dwb_stereo_eye_select { - DWB_STEREO_EYE_LEFT = 1, /* Capture left eye only */ - DWB_STEREO_EYE_RIGHT = 2, /* Capture right eye only */ -}; - -enum dwb_stereo_type { - DWB_STEREO_TYPE_FRAME_PACKING = 0, /* Frame packing */ - DWB_STEREO_TYPE_FRAME_SEQUENTIAL = 3, /* Frame sequential */ -}; - enum wbscl_coef_filter_type_sel { WBSCL_COEF_LUMA_VERT_FILTER = 0, WBSCL_COEF_CHROMA_VERT_FILTER = 1, @@ -101,13 +91,6 @@ enum wbscl_coef_filter_type_sel { #endif #if defined(CONFIG_DRM_AMD_DC_DCN2_0) -struct dwb_stereo_params { - bool stereo_enabled; /* false: normal mode, true: 3D stereo */ - enum dwb_stereo_type stereo_type; /* indicates stereo format */ - bool stereo_polarity; /* indicates left eye or right eye comes first in stereo mode */ - enum dwb_stereo_eye_select stereo_eye_select; /* indicate which eye should be captured */ -}; - struct dwb_warmup_params { bool warmup_en; /* false: normal mode, true: enable pattern generator */ bool warmup_mode; /* false: 420, true: 444 */ |