.. | .. |
---|
31 | 31 | #define __DCN_CALCS_H__ |
---|
32 | 32 | |
---|
33 | 33 | #include "bw_fixed.h" |
---|
34 | | -#include "display_clock.h" |
---|
35 | 34 | #include "../dml/display_mode_lib.h" |
---|
| 35 | + |
---|
36 | 36 | |
---|
37 | 37 | struct dc; |
---|
38 | 38 | struct dc_state; |
---|
.. | .. |
---|
504 | 504 | float prefetch_mode; |
---|
505 | 505 | float dstx_after_scaler; |
---|
506 | 506 | float dsty_after_scaler; |
---|
507 | | - float v_update_offset_pix; |
---|
| 507 | + float v_update_offset_pix[number_of_planes_minus_one + 1]; |
---|
508 | 508 | float total_repeater_delay_time; |
---|
509 | | - float v_update_width_pix; |
---|
510 | | - float v_ready_offset_pix; |
---|
| 509 | + float v_update_width_pix[number_of_planes_minus_one + 1]; |
---|
| 510 | + float v_ready_offset_pix[number_of_planes_minus_one + 1]; |
---|
511 | 511 | float t_setup; |
---|
512 | 512 | float t_wait; |
---|
513 | 513 | float bandwidth_available_for_immediate_flip; |
---|
.. | .. |
---|
621 | 621 | |
---|
622 | 622 | bool dcn_validate_bandwidth( |
---|
623 | 623 | struct dc *dc, |
---|
624 | | - struct dc_state *context); |
---|
| 624 | + struct dc_state *context, |
---|
| 625 | + bool fast_validate); |
---|
625 | 626 | |
---|
626 | 627 | unsigned int dcn_find_dcfclk_suits_all( |
---|
627 | 628 | const struct dc *dc, |
---|
.. | .. |
---|
631 | 632 | void dcn_bw_notify_pplib_of_wm_ranges(struct dc *dc); |
---|
632 | 633 | void dcn_bw_sync_calcs_and_dml(struct dc *dc); |
---|
633 | 634 | |
---|
| 635 | +enum source_macro_tile_size swizzle_mode_to_macro_tile_size(enum swizzle_mode_values sw_mode); |
---|
| 636 | + |
---|
634 | 637 | #endif /* __DCN_CALCS_H__ */ |
---|
635 | 638 | |
---|