1*552b7cb0SIsabella Basso /*
2*552b7cb0SIsabella Basso  * Copyright 2017 Advanced Micro Devices, Inc.
3*552b7cb0SIsabella Basso  *
4*552b7cb0SIsabella Basso  * Permission is hereby granted, free of charge, to any person obtaining a
5*552b7cb0SIsabella Basso  * copy of this software and associated documentation files (the "Software"),
6*552b7cb0SIsabella Basso  * to deal in the Software without restriction, including without limitation
7*552b7cb0SIsabella Basso  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8*552b7cb0SIsabella Basso  * and/or sell copies of the Software, and to permit persons to whom the
9*552b7cb0SIsabella Basso  * Software is furnished to do so, subject to the following conditions:
10*552b7cb0SIsabella Basso  *
11*552b7cb0SIsabella Basso  * The above copyright notice and this permission notice shall be included in
12*552b7cb0SIsabella Basso  * all copies or substantial portions of the Software.
13*552b7cb0SIsabella Basso  *
14*552b7cb0SIsabella Basso  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15*552b7cb0SIsabella Basso  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16*552b7cb0SIsabella Basso  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17*552b7cb0SIsabella Basso  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18*552b7cb0SIsabella Basso  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19*552b7cb0SIsabella Basso  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20*552b7cb0SIsabella Basso  * OTHER DEALINGS IN THE SOFTWARE.
21*552b7cb0SIsabella Basso  *
22*552b7cb0SIsabella Basso  * Authors: AMD
23*552b7cb0SIsabella Basso  *
24*552b7cb0SIsabella Basso  */
25*552b7cb0SIsabella Basso 
26*552b7cb0SIsabella Basso #ifndef _DCN_CALC_AUTO_H_
27*552b7cb0SIsabella Basso #define _DCN_CALC_AUTO_H_
28*552b7cb0SIsabella Basso 
29*552b7cb0SIsabella Basso #include "dc.h"
30*552b7cb0SIsabella Basso #include "dcn_calcs.h"
31*552b7cb0SIsabella Basso 
32*552b7cb0SIsabella Basso void scaler_settings_calculation(struct dcn_bw_internal_vars *v);
33*552b7cb0SIsabella Basso void mode_support_and_system_configuration(struct dcn_bw_internal_vars *v);
34*552b7cb0SIsabella Basso void display_pipe_configuration(struct dcn_bw_internal_vars *v);
35*552b7cb0SIsabella Basso void dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation(
36*552b7cb0SIsabella Basso 		struct dcn_bw_internal_vars *v);
37*552b7cb0SIsabella Basso 
38*552b7cb0SIsabella Basso #endif /* _DCN_CALC_AUTO_H_ */
39