aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h
diff options
context:
space:
mode:
authorAMD\ktsao <kenny.tsao@amd.com>2017-07-30 14:18:36 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:16:02 -0400
commit43193c7991de7a2112fe2ddcfd930733bc357862 (patch)
tree89fff4e59c12925e33a044f0b8905945f457098d /drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h
parentdrm/amd/display: move regamma from opp to dpp for dce (diff)
downloadlinux-dev-43193c7991de7a2112fe2ddcfd930733bc357862.tar.xz
linux-dev-43193c7991de7a2112fe2ddcfd930733bc357862.zip
drm/amd/display: remove DCN1 guard as DCN1 is already open sourced.
Signed-off-by: Kenny Tsao <kenny.tsao@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/timing_generator.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h b/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h
index 2b72d1d8012f..c6ab38c5b2be 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h
@@ -91,7 +91,7 @@ enum crtc_state {
CRTC_STATE_VBLANK = 0,
CRTC_STATE_VACTIVE
};
-#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
+
struct _dlg_otg_param {
int vstartup_start;
int vupdate_offset;
@@ -99,7 +99,6 @@ struct _dlg_otg_param {
int vready_offset;
enum signal_type signal;
};
-#endif
struct crtc_stereo_flags {
uint8_t PROGRAM_STEREO : 1;
@@ -113,9 +112,7 @@ struct timing_generator {
const struct timing_generator_funcs *funcs;
struct dc_bios *bp;
struct dc_context *ctx;
-#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
struct _dlg_otg_param dlg_otg_param;
-#endif
int inst;
};
@@ -176,10 +173,8 @@ struct timing_generator_funcs {
bool (*arm_vert_intr)(struct timing_generator *tg, uint8_t width);
-#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
void (*program_global_sync)(struct timing_generator *tg);
void (*enable_optc_clock)(struct timing_generator *tg, bool enable);
-#endif
void (*program_stereo)(struct timing_generator *tg,
const struct dc_crtc_timing *timing, struct crtc_stereo_flags *flags);
bool (*is_stereo_left_eye)(struct timing_generator *tg);