/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_vba.h | 34 #define dml_get_attr_decl(attr) double get_##attr(struct display_mode_lib *mode_lib, const display_… 75 #define dml_get_pipe_attr_decl(attr) double get_##attr(struct display_mode_lib *mode_lib, const dis… 148 double get_total_immediate_flip_bytes( 152 double get_total_immediate_flip_bw( 156 double get_total_prefetch_bw( 188 double dummy_single_array[2][DC__NUM_DPP__MAX]; 190 double dummy_double_array[2][DC__NUM_DPP__MAX]; 199 double HostVMInefficiencyFactor; 202 double dummy_unit_vector[DC__NUM_DPP__MAX]; 203 double dummy_single[2]; [all …]
|
H A D | display_mode_structs.h | 68 double UrgentWatermark; 69 double WritebackUrgentWatermark; 70 double DRAMClockChangeWatermark; 71 double FCLKChangeWatermark; 72 double WritebackDRAMClockChangeWatermark; 73 double WritebackFCLKChangeWatermark; 74 double StutterExitWatermark; 75 double StutterEnterPlusExitWatermark; 76 double Z8StutterExitWatermark; 77 double Z8StutterEnterPlusExitWatermark; [all …]
|
H A D | dml_inline_defs.h | 32 static inline double dml_min(double a, double b) in dml_min() 34 return (double) dcn_bw_min2(a, b); in dml_min() 37 static inline double dml_min3(double a, double b, double c) in dml_min3() 42 static inline double dml_min4(double a, double b, double c, double d) in dml_min4() 47 static inline double dml_max(double a, double b) in dml_max() 49 return (double) dcn_bw_max2(a, b); in dml_max() 52 static inline double dml_max3(double a, double b, double c) in dml_max3() 57 static inline double dml_max4(double a, double b, double c, double d) in dml_max4() 62 static inline double dml_max5(double a, double b, double c, double d, double e) in dml_max5() 67 static inline double dml_ceil(double a, double granularity) in dml_ceil() [all …]
|
H A D | dml1_display_rq_dlg_calc.c | 97 static double get_refcyc_per_delivery( in get_refcyc_per_delivery() 99 double refclk_freq_in_mhz, in get_refcyc_per_delivery() 100 double pclk_freq_in_mhz, in get_refcyc_per_delivery() 102 double vratio, in get_refcyc_per_delivery() 103 double hscale_pixel_rate, in get_refcyc_per_delivery() 107 double refcyc_per_delivery = 0.0; in get_refcyc_per_delivery() 110 refcyc_per_delivery = (double) refclk_freq_in_mhz * (double) recout_width in get_refcyc_per_delivery() 111 / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery() 113 refcyc_per_delivery = (double) refclk_freq_in_mhz * (double) delivery_width in get_refcyc_per_delivery() 114 / (double) hscale_pixel_rate / (double) req_per_swath_ub; in get_refcyc_per_delivery() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.h | 37 double BPP, 54 double *BytePerPixelDETY, 55 double *BytePerPixelDETC, 66 double HRatio, 67 double HRatioChroma, 68 double VRatio, 69 double VRatioChroma, 70 double MaxDCHUBToPSCLThroughput, 71 double MaxPSCLToLBThroughput, 72 double PixelClock, [all …]
|
H A D | display_mode_vba_util_32.c | 34 double BPP, in dml32_dscceComputeDelay() 199 double HRatio, in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 200 double HRatioChroma, in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 201 double VRatio, in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 202 double VRatioChroma, in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 203 double MaxDCHUBToPSCLThroughput, in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 204 double MaxPSCLToLBThroughput, in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 205 double PixelClock, in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 213 double *PSCL_THROUGHPUT, in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() 214 double *PSCL_THROUGHPUT_CHROMA, in dml32_CalculateSinglePipeDPPCLKAndSCLThroughput() [all …]
|
H A D | display_rq_dlg_calc_32.c | 51 double stored_swath_l_bytes; in dml32_rq_dlg_get_rq_reg() 52 double stored_swath_c_bytes; in dml32_rq_dlg_get_rq_reg() 216 double refcyc_per_req_delivery_pre_cur0 = 0.; in dml32_rq_dlg_get_dlg_reg() 217 double refcyc_per_req_delivery_cur0 = 0.; in dml32_rq_dlg_get_dlg_reg() 218 double refcyc_per_req_delivery_pre_c = 0.; in dml32_rq_dlg_get_dlg_reg() 219 double refcyc_per_req_delivery_c = 0.; in dml32_rq_dlg_get_dlg_reg() 220 double refcyc_per_req_delivery_pre_l; in dml32_rq_dlg_get_dlg_reg() 221 double refcyc_per_req_delivery_l; in dml32_rq_dlg_get_dlg_reg() 222 double refcyc_per_line_delivery_pre_c = 0.; in dml32_rq_dlg_get_dlg_reg() 223 double refcyc_per_line_delivery_c = 0.; in dml32_rq_dlg_get_dlg_reg() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_shared_types.h | 45 double max_hscl_ratio; 46 double max_vscl_ratio; 54 double dispclk_ramp_margin_percent; 70 double writeback_max_hscl_ratio; 71 double writeback_max_vscl_ratio; 72 double writeback_min_hscl_ratio; 73 double writeback_min_vscl_ratio; 99 double Dppclk; 100 double Dispclk; 101 double PixelClock; [all …]
|
H A D | dml2_core_shared.c | 11 double dml2_core_shared_div_rem(double dividend, unsigned int divisor, unsigned int *remainder) in dml2_core_shared_div_rem() 26 static void get_stream_output_bpp(double *out_bpp, const struct dml2_display_cfg *display_cfg); 44 …aceUnit(const struct dml2_display_cfg *display_cfg, bool ptoi_supported, double *PixelClockBackEnd… 56 double *BytePerPixelDETY, 57 double *BytePerPixelDETC, 69 double HRatio, 70 double HRatioChroma, 71 double VRatio, 72 double VRatioChroma, 73 double MaxDCHUBToPSCLThroughput, [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_standalone_libraries/ |
H A D | lib_float_math.h | 8 double math_mod(const double arg1, const double arg2); 9 double math_min2(const double arg1, const double arg2); 10 double math_max2(const double arg1, const double arg2); 11 double math_floor2(const double arg, const double significance); 12 double math_floor(const double arg); 13 double math_ceil(const double arg); 14 double math_ceil2(const double arg, const double significance); 15 double math_max3(double v1, double v2, double v3); 16 double math_max4(double v1, double v2, double v3, double v4); 17 double math_max5(double v1, double v2, double v3, double v4, double v5); [all …]
|
H A D | lib_float_math.c | 20 double math_mod(const double arg1, const double arg2) in math_mod() 29 double math_min2(const double arg1, const double arg2) in math_min2() 38 double math_max2(const double arg1, const double arg2) in math_max2() 47 double math_floor2(const double arg, const double significance) in math_floor2() 54 double math_floor(const double arg) in math_floor() 59 double math_ceil(const double arg) in math_ceil() 64 double math_ceil2(const double arg, const double significance) in math_ceil2() 69 double math_max3(double v1, double v2, double v3) in math_max3() 74 double math_max4(double v1, double v2, double v3, double v4) in math_max4() 79 double math_max5(double v1, double v2, double v3, double v4, double v5) in math_max5() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/ |
H A D | dml_top_types.h | 345 double MaxTotalVerticalActiveAvailableBandwidth; 352 double OutputBpp[DML2_MAX_PLANES]; 436 double urgent_us; 437 double writeback_urgent_us; 438 double writeback_pstate_us; 439 double writeback_fclk_pstate_us; 440 double cstate_exit_us; 441 double cstate_enter_plus_exit_us; 442 double z8_cstate_exit_us; 443 double z8_cstate_enter_plus_exit_us; [all …]
|
H A D | dml_top_soc_parameter_types.h | 61 double umc_urgent_ramp_latency_margin; 62 double umc_max_latency_margin; 63 double umc_average_latency_margin; 64 double fabric_max_transport_latency_margin; 65 double fabric_average_transport_latency_margin; 91 double dram_clk_change_blackout_us; 92 double dram_clk_change_read_only_us; 93 double dram_clk_change_write_only_us; 94 double fclk_change_blackout_us; 95 double g7_ppt_blackout_us; [all …]
|
/linux/arch/powerpc/kvm/ |
H A D | fpu.S | 25 * R3 = (double*)&fpscr 45 * R3 = (double*)&fpscr 67 * R3 = (double*)&fpscr 102 /* Instructions operating on double parameters */ 105 * Beginning of double instruction processing 107 * R3 = (double*)&fpscr 109 * R5 = (double*)&result 110 * R6 = (double*)¶m1 111 * R7 = (double*)¶m2 [load_two] 112 * R8 = (double*)¶m3 [load_three] [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_rq_dlg_calc_21.c | 43 double *refcyc_per_req_delivery_pre_cur, 44 double *refcyc_per_req_delivery_cur, 45 double refclk_freq_in_mhz, 46 double ref_freq_to_pix_freq, 47 double hscale_pixel_rate_l, 48 double hscl_ratio, 49 double vratio_pre_l, 50 double vratio_l, 93 static double get_refcyc_per_delivery( in get_refcyc_per_delivery() 95 double refclk_freq_in_mhz, in get_refcyc_per_delivery() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_rq_dlg_calc_20.c | 66 double *refcyc_per_req_delivery_pre_cur, 67 double *refcyc_per_req_delivery_cur, 68 double refclk_freq_in_mhz, 69 double ref_freq_to_pix_freq, 70 double hscale_pixel_rate_l, 71 double hscl_ratio, 72 double vratio_pre_l, 73 double vratio_l, 118 static double get_refcyc_per_delivery(struct display_mode_lib *mode_lib, in get_refcyc_per_delivery() 119 double refclk_freq_in_mhz, in get_refcyc_per_delivery() [all …]
|
H A D | display_rq_dlg_calc_20v2.c | 66 double *refcyc_per_req_delivery_pre_cur, 67 double *refcyc_per_req_delivery_cur, 68 double refclk_freq_in_mhz, 69 double ref_freq_to_pix_freq, 70 double hscale_pixel_rate_l, 71 double hscl_ratio, 72 double vratio_pre_l, 73 double vratio_l, 118 static double get_refcyc_per_delivery(struct display_mode_lib *mode_lib, in get_refcyc_per_delivery() 119 double refclk_freq_in_mhz, in get_refcyc_per_delivery() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 63 double DPPCLK; 64 double DISPCLK; 65 double PixelClock; 66 double DCFCLKDeepSleep; 69 double VRatio; 70 double VRatioChroma; 95 double BPP, 103 double HostVMInefficiencyFactor, 106 double DPPCLKDelaySubtotalPlusCNVCFormater, 107 double DPPCLKDelaySCL, [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.c | 42 static double get_refcyc_per_delivery(struct display_mode_lib *mode_lib, in get_refcyc_per_delivery() 43 double refclk_freq_in_mhz, in get_refcyc_per_delivery() 44 double pclk_freq_in_mhz, in get_refcyc_per_delivery() 48 double vratio, in get_refcyc_per_delivery() 49 double hscale_pixel_rate, in get_refcyc_per_delivery() 53 double refcyc_per_delivery = 0.0; in get_refcyc_per_delivery() 57 refcyc_per_delivery = (double)refclk_freq_in_mhz * (double)((unsigned int)odm_combine*2) in get_refcyc_per_delivery() 58 * dml_min((double)recout_width, (double)hactive / ((unsigned int)odm_combine*2)) in get_refcyc_per_delivery() 59 / pclk_freq_in_mhz / (double)req_per_swath_ub; in get_refcyc_per_delivery() 61 refcyc_per_delivery = (double)refclk_freq_in_mhz * (double)recout_width in get_refcyc_per_delivery() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/ |
H A D | dml2_dpmm_dcn4.c | 10 static double dram_bw_kbps_to_uclk_khz(unsigned long long bandwidth_kbps, const struct dml2_dram_pa… in dram_bw_kbps_to_uclk_khz() 12 double uclk_khz = 0; in dram_bw_kbps_to_uclk_khz() 17 uclk_khz = (double)bandwidth_kbps / uclk_mbytes_per_tick; in dram_bw_kbps_to_uclk_khz() 23 double *uclk, in get_minimum_clocks_for_latency() 24 double *fclk, in get_minimum_clocks_for_latency() 25 double *dcfclk) in get_minimum_clocks_for_latency() 40 static unsigned long dml_round_up(double a) in dml_round_up() 50 double min_uclk_avg, min_uclk_urgent, min_uclk_bw; in calculate_system_active_minimums() 51 double min_fclk_avg, min_fclk_urgent, min_fclk_bw; in calculate_system_active_minimums() 52 double min_dcfclk_avg, min_dcfclk_urgent, min_dcfclk_bw; in calculate_system_active_minimums() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/tigerlake/ |
H A D | floating-point.json | 12 …double precision floating-point instructions retired; some instructions will count twice as noted … 16 …double precision floating-point instructions retired; some instructions will count twice as noted … 30 …double precision floating-point instructions retired; some instructions will count twice as noted … 34 …double precision floating-point instructions retired; some instructions will count twice as noted … 48 …double precision FP instructions retired; some instructions will count twice as noted below. Each… 52 …double precision floating-point instructions retired; some instructions will count twice as noted… 57 …double precision floating-point instructions retired; some instructions will count twice as noted … 61 …double precision floating-point instructions retired; some instructions will count twice as noted … 75 …double precision FP instructions retired; some instructions will count twice as noted below. Eac… 79 …double precision floating-point instructions retired; some instructions will count twice as noted… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/rocketlake/ |
H A D | floating-point.json | 12 …double precision floating-point instructions retired; some instructions will count twice as noted … 16 …double precision floating-point instructions retired; some instructions will count twice as noted … 30 …double precision floating-point instructions retired; some instructions will count twice as noted … 34 …double precision floating-point instructions retired; some instructions will count twice as noted … 48 …double precision FP instructions retired; some instructions will count twice as noted below. Each… 52 …double precision floating-point instructions retired; some instructions will count twice as noted… 57 …double precision floating-point instructions retired; some instructions will count twice as noted … 61 …double precision floating-point instructions retired; some instructions will count twice as noted … 75 …double precision FP instructions retired; some instructions will count twice as noted below. Eac… 79 …double precision floating-point instructions retired; some instructions will count twice as noted… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | floating-point.json | 12 …double precision floating-point instructions retired; some instructions will count twice as noted … 16 …double precision floating-point instructions retired; some instructions will count twice as noted … 30 …double precision floating-point instructions retired; some instructions will count twice as noted … 34 …double precision floating-point instructions retired; some instructions will count twice as noted … 48 …double precision FP instructions retired; some instructions will count twice as noted below. Each… 52 …double precision floating-point instructions retired; some instructions will count twice as noted… 57 …double precision floating-point instructions retired; some instructions will count twice as noted … 61 …double precision floating-point instructions retired; some instructions will count twice as noted … 75 …double precision FP instructions retired; some instructions will count twice as noted below. Eac… 79 …double precision floating-point instructions retired; some instructions will count twice as noted… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/icelake/ |
H A D | floating-point.json | 12 …double precision floating-point instructions retired; some instructions will count twice as noted … 16 …double precision floating-point instructions retired; some instructions will count twice as noted … 30 …double precision floating-point instructions retired; some instructions will count twice as noted … 34 …double precision floating-point instructions retired; some instructions will count twice as noted … 48 …double precision FP instructions retired; some instructions will count twice as noted below. Each… 52 …double precision floating-point instructions retired; some instructions will count twice as noted… 57 …double precision floating-point instructions retired; some instructions will count twice as noted … 61 …double precision floating-point instructions retired; some instructions will count twice as noted … 75 …double precision FP instructions retired; some instructions will count twice as noted below. Eac… 79 …double precision floating-point instructions retired; some instructions will count twice as noted… [all …]
|
/linux/tools/testing/selftests/timers/ |
H A D | freq-step.c | 33 double offset; 34 double time; 40 static double precision; 41 static double mono_freq_offset; 43 static double diff_timespec(struct timespec *ts1, struct timespec *ts2) in diff_timespec() 48 static double get_sample(struct sample *sample) in get_sample() 50 double delay, mindelay = 0.0; in get_sample() 94 static void set_frequency(double freq) in set_frequency() 111 static void regress(struct sample *samples, int n, double *intercept, in regress() 112 double *slope, double *r_stddev, double *r_max) in regress() [all …]
|