4 * Created on: Nov 13, 2015
11 #include "core_types.h"
12 #include "hw_sequencer.h"
14 #define DC_TO_CORE(dc)\
15 container_of(dc, struct core_dc, public)
19 struct dc_context
*ctx
;
22 struct core_link
*links
[MAX_PIPES
* 2];
24 /* TODO: determine max number of targets*/
25 struct validate_context
*current_context
;
26 struct validate_context
*temp_flip_context
;
27 struct resource_pool
*res_pool
;
30 enum dc_video_power_state previous_power_state
;
31 enum dc_video_power_state current_power_state
;
33 /* Display Engine Clock levels */
34 struct dm_pp_clock_levels sclk_lvls
;
36 /* Inputs into BW and WM calculations. */
37 struct bw_calcs_dceip bw_dceip
;
38 struct bw_calcs_vbios bw_vbios
;
41 struct hw_sequencer_funcs hwss
;
42 struct dce_hwseq
*hwseq
;
44 /* temp store of dm_pp_display_configuration
45 * to compare to see if display config changed
47 struct dm_pp_display_configuration prev_display_config
;
50 #endif /* __CORE_DC_H__ */