/Linux-v4.19/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 57 struct fixed31_32 { struct 67 static const struct fixed31_32 dc_fixpt_zero = { 0 }; argument 68 static const struct fixed31_32 dc_fixpt_epsilon = { 1LL }; 69 static const struct fixed31_32 dc_fixpt_half = { 0x80000000LL }; 70 static const struct fixed31_32 dc_fixpt_one = { 0x100000000LL }; 72 static const struct fixed31_32 dc_fixpt_pi = { 13493037705LL }; 73 static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL }; 74 static const struct fixed31_32 dc_fixpt_e = { 11674931555LL }; 75 static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL }; 76 static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL }; [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/basics/ |
D | fixpt31_32.c | 67 struct fixed31_32 dc_fixpt_from_fraction(long long numerator, long long denominator) in dc_fixpt_from_fraction() 69 struct fixed31_32 res; in dc_fixpt_from_fraction() 119 struct fixed31_32 dc_fixpt_mul(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_mul() 121 struct fixed31_32 res; in dc_fixpt_mul() 170 struct fixed31_32 dc_fixpt_sqr(struct fixed31_32 arg) in dc_fixpt_sqr() 172 struct fixed31_32 res; in dc_fixpt_sqr() 210 struct fixed31_32 dc_fixpt_recip(struct fixed31_32 arg) in dc_fixpt_recip() 224 struct fixed31_32 dc_fixpt_sinc(struct fixed31_32 arg) in dc_fixpt_sinc() 226 struct fixed31_32 square; in dc_fixpt_sinc() 228 struct fixed31_32 res = dc_fixpt_one; in dc_fixpt_sinc() [all …]
|
D | conversion.c | 35 struct fixed31_32 arg, in fixed_point_to_int_frac() 83 struct fixed31_32 *flt, in convert_float_matrix() 86 const struct fixed31_32 min_2_13 = in convert_float_matrix() 88 const struct fixed31_32 max_2_13 = in convert_float_matrix()
|
D | conversion.h | 32 struct fixed31_32 arg, 38 struct fixed31_32 *flt,
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | opp.h | 34 struct fixed31_32; 118 struct fixed31_32 r; 119 struct fixed31_32 g; 120 struct fixed31_32 b; 144 struct fixed31_32 x; 145 struct fixed31_32 regamma_y_red; 146 struct fixed31_32 regamma_y_green; 147 struct fixed31_32 regamma_y_blue; 152 struct fixed31_32 r; 153 struct fixed31_32 g; [all …]
|
D | transform.h | 130 struct fixed31_32 temperature_matrix[CSC_TEMPERATURE_MATRIX_SIZE]; 142 struct fixed31_32 horz; 143 struct fixed31_32 vert; 144 struct fixed31_32 horz_c; 145 struct fixed31_32 vert_c; 162 struct fixed31_32 h; 163 struct fixed31_32 h_c; 164 struct fixed31_32 v; 165 struct fixed31_32 v_bot; 166 struct fixed31_32 v_c; [all …]
|
D | hw_shared.h | 45 struct fixed31_32 x; 46 struct fixed31_32 y; 47 struct fixed31_32 offset; 48 struct fixed31_32 slope; 57 struct fixed31_32 red; 58 struct fixed31_32 green; 59 struct fixed31_32 blue; 61 struct fixed31_32 delta_red; 62 struct fixed31_32 delta_green; 63 struct fixed31_32 delta_blue;
|
D | stream_encoder.h | 106 struct fixed31_32 avg_time_slots_per_mtp);
|
D | dpp.h | 43 struct fixed31_32 temperature_matrix[CSC_TEMPERATURE_MATRIX_SIZE];
|
/Linux-v4.19/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 37 static struct fixed31_32 pq_table[MAX_HW_POINTS + 2]; 38 static struct fixed31_32 de_pq_table[MAX_HW_POINTS + 2]; 46 struct fixed31_32 region_size = dc_fixpt_from_int(128); in setup_x_points_distribution() 50 struct fixed31_32 increment; in setup_x_points_distribution() 71 static void compute_pq(struct fixed31_32 in_x, struct fixed31_32 *out_y) in compute_pq() 74 const struct fixed31_32 m1 = in compute_pq() 76 const struct fixed31_32 m2 = in compute_pq() 78 const struct fixed31_32 c1 = in compute_pq() 80 const struct fixed31_32 c2 = in compute_pq() 82 const struct fixed31_32 c3 = in compute_pq() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_scl_filters.c | 1015 const uint16_t *get_filter_3tap_16p(struct fixed31_32 ratio) in get_filter_3tap_16p() 1027 const uint16_t *get_filter_3tap_64p(struct fixed31_32 ratio) in get_filter_3tap_64p() 1039 const uint16_t *get_filter_4tap_16p(struct fixed31_32 ratio) in get_filter_4tap_16p() 1051 const uint16_t *get_filter_4tap_64p(struct fixed31_32 ratio) in get_filter_4tap_64p() 1063 const uint16_t *get_filter_5tap_64p(struct fixed31_32 ratio) in get_filter_5tap_64p() 1075 const uint16_t *get_filter_6tap_64p(struct fixed31_32 ratio) in get_filter_6tap_64p() 1087 const uint16_t *get_filter_7tap_64p(struct fixed31_32 ratio) in get_filter_7tap_64p() 1099 const uint16_t *get_filter_8tap_64p(struct fixed31_32 ratio) in get_filter_8tap_64p()
|
D | dce_clock_source.c | 646 struct fixed31_32 pix_rate; in dce110_get_d_to_pixel_rate_in_hz() 714 struct fixed31_32 fb_div; in calculate_ss() 715 struct fixed31_32 ss_amount; in calculate_ss() 716 struct fixed31_32 ss_nslip_amount; in calculate_ss() 717 struct fixed31_32 ss_ds_frac_amount; in calculate_ss() 718 struct fixed31_32 ss_step_size; in calculate_ss() 719 struct fixed31_32 modulation_time; in calculate_ss()
|
D | dce_transform.c | 255 struct fixed31_32 h_init; in calculate_inits() 256 struct fixed31_32 v_init; in calculate_inits() 304 static const uint16_t *get_filter_coeffs_16p(int taps, struct fixed31_32 ratio) in get_filter_coeffs_16p() 856 struct fixed31_32 arr_matrix[GAMUT_MATRIX_SIZE]; in dce_transform_set_gamut_remap() 869 static uint32_t decide_taps(struct fixed31_32 ratio, uint32_t in_taps, bool chroma) in decide_taps()
|
D | dce_clocks.c | 163 struct fixed31_32 ss_percentage = dc_fixpt_div_int( in dccg_adjust_dp_ref_freq_for_ss() 166 struct fixed31_32 adj_dp_ref_clk_khz; in dccg_adjust_dp_ref_freq_for_ss()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/calcs/ |
D | custom_float.c | 30 struct fixed31_32 value, in build_custom_float() 38 const struct fixed31_32 mantissa_constant_plus_max_fraction = in build_custom_float() 43 struct fixed31_32 mantiss; in build_custom_float() 183 struct fixed31_32 value, in convert_to_custom_float_format()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_cm_common.c | 249 struct fixed31_32 y_r; in cm_helper_translate_curve_to_hw_format() 250 struct fixed31_32 y_g; in cm_helper_translate_curve_to_hw_format() 251 struct fixed31_32 y_b; in cm_helper_translate_curve_to_hw_format() 252 struct fixed31_32 y1_min; in cm_helper_translate_curve_to_hw_format() 253 struct fixed31_32 y3_max; in cm_helper_translate_curve_to_hw_format() 360 const struct fixed31_32 end_value = in cm_helper_translate_curve_to_hw_format() 431 struct fixed31_32 y_r; in cm_helper_translate_curve_to_degamma_hw_format() 432 struct fixed31_32 y_g; in cm_helper_translate_curve_to_degamma_hw_format() 433 struct fixed31_32 y_b; in cm_helper_translate_curve_to_degamma_hw_format() 434 struct fixed31_32 y1_min; in cm_helper_translate_curve_to_degamma_hw_format() [all …]
|
D | dcn10_dpp_dscl.c | 227 static const uint16_t *dpp1_dscl_get_filter_coeffs_64p(int taps, struct fixed31_32 ratio) in dpp1_dscl_get_filter_coeffs_64p()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/ |
D | dc_types.h | 365 struct fixed31_32 contrast; 366 struct fixed31_32 saturation; 367 struct fixed31_32 brightness; 368 struct fixed31_32 hue; 663 struct fixed31_32 matrix[12];
|
D | dc_hw_types.h | 408 struct fixed31_32 h_scale_ratio; 409 struct fixed31_32 v_scale_ratio; 442 struct fixed31_32 red[GAMMA_MAX_ENTRIES]; 443 struct fixed31_32 green[GAMMA_MAX_ENTRIES]; 444 struct fixed31_32 blue[GAMMA_MAX_ENTRIES];
|
D | dc.h | 391 struct fixed31_32 red[TRANSFER_FUNC_POINTS]; 392 struct fixed31_32 green[TRANSFER_FUNC_POINTS]; 393 struct fixed31_32 blue[TRANSFER_FUNC_POINTS]; 485 struct fixed31_32 coeff_reduction_factor; 550 const struct fixed31_32 *coeff_reduction_factor;
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/ |
D | custom_float.h | 35 struct fixed31_32 value,
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/virtual/ |
D | virtual_stream_encoder.c | 47 struct fixed31_32 avg_time_slots_per_mtp) {} in virtual_stream_encoder_set_mst_bandwidth()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link.c | 2136 static struct fixed31_32 get_pbn_per_slot(struct dc_stream_state *stream) in get_pbn_per_slot() 2142 struct fixed31_32 mbps = dc_fixpt_from_int( in get_pbn_per_slot() 2161 static struct fixed31_32 get_pbn_from_timing(struct pipe_ctx *pipe_ctx) in get_pbn_from_timing() 2165 struct fixed31_32 peak_kbps; in get_pbn_from_timing() 2250 struct fixed31_32 avg_time_slots_per_mtp; in allocate_mst_payload() 2251 struct fixed31_32 pbn; in allocate_mst_payload() 2252 struct fixed31_32 pbn_per_slot; in allocate_mst_payload() 2330 struct fixed31_32 avg_time_slots_per_mtp = dc_fixpt_from_int(0); in deallocate_mst_payload()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 427 struct fixed31_32 y_r; in dce110_translate_regamma_to_hw_format() 428 struct fixed31_32 y_g; in dce110_translate_regamma_to_hw_format() 429 struct fixed31_32 y_b; in dce110_translate_regamma_to_hw_format() 430 struct fixed31_32 y1_min; in dce110_translate_regamma_to_hw_format() 431 struct fixed31_32 y3_max; in dce110_translate_regamma_to_hw_format() 542 const struct fixed31_32 end_value = dc_fixpt_from_int(125); in dce110_translate_regamma_to_hw_format()
|
D | dce110_transform_v.c | 489 static const uint16_t *get_filter_coeffs_64p(int taps, struct fixed31_32 ratio) in get_filter_coeffs_64p()
|