Commit 3c8c9d6c authored by Charlene Liu's avatar Charlene Liu Committed by Alex Deucher

drm/amd/display: using calculated values for VReady/Startup

Signed-off-by: default avatarCharlene Liu <charlene.liu@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Reviewed-by: default avatarDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 2fc67983
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "os_types.h" #include "os_types.h"
#include "fixed31_32.h" #include "fixed31_32.h"
#include "signal_types.h"
/****************************************************************************** /******************************************************************************
* Data types for Virtual HW Layer of DAL3. * Data types for Virtual HW Layer of DAL3.
...@@ -647,5 +648,13 @@ struct dc_crtc_timing { ...@@ -647,5 +648,13 @@ struct dc_crtc_timing {
struct dc_crtc_timing_flags flags; struct dc_crtc_timing_flags flags;
}; };
struct _dlg_otg_param {
int vstartup_start;
int vupdate_offset;
int vupdate_width;
int vready_offset;
enum signal_type signal;
};
#endif /* DC_HW_TYPES_H */ #endif /* DC_HW_TYPES_H */
...@@ -180,6 +180,8 @@ struct dm_pp_display_configuration { ...@@ -180,6 +180,8 @@ struct dm_pp_display_configuration {
uint32_t avail_mclk_switch_time_us; uint32_t avail_mclk_switch_time_us;
uint32_t avail_mclk_switch_time_in_disp_active_us; uint32_t avail_mclk_switch_time_in_disp_active_us;
uint32_t min_dcfclock_khz;
uint32_t min_dcfc_deep_sleep_clock_khz;
uint32_t disp_clk_khz; uint32_t disp_clk_khz;
......
...@@ -96,7 +96,6 @@ enum crtc_state { ...@@ -96,7 +96,6 @@ enum crtc_state {
CRTC_STATE_VBLANK = 0, CRTC_STATE_VBLANK = 0,
CRTC_STATE_VACTIVE CRTC_STATE_VACTIVE
}; };
struct timing_generator { struct timing_generator {
const struct timing_generator_funcs *funcs; const struct timing_generator_funcs *funcs;
struct dc_bios *bp; struct dc_bios *bp;
......
...@@ -63,6 +63,7 @@ enum dc_log_type { ...@@ -63,6 +63,7 @@ enum dc_log_type {
LOG_EVENT_LINK_LOSS, LOG_EVENT_LINK_LOSS,
LOG_EVENT_UNDERFLOW, LOG_EVENT_UNDERFLOW,
LOG_IF_TRACE, LOG_IF_TRACE,
LOG_HW_MARKS,
LOG_SECTION_TOTAL_COUNT LOG_SECTION_TOTAL_COUNT
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment