Searched refs:init_frac (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp_dscl.c | 602 uint32_t init_frac = 0; in dpp1_dscl_set_manual_ratio_init() local 620 init_frac = dc_fixpt_u0d19(data->inits.h) << 5; in dpp1_dscl_set_manual_ratio_init() 623 SCL_H_INIT_FRAC, init_frac, in dpp1_dscl_set_manual_ratio_init() 626 init_frac = dc_fixpt_u0d19(data->inits.h_c) << 5; in dpp1_dscl_set_manual_ratio_init() 629 SCL_H_INIT_FRAC_C, init_frac, in dpp1_dscl_set_manual_ratio_init() 632 init_frac = dc_fixpt_u0d19(data->inits.v) << 5; in dpp1_dscl_set_manual_ratio_init() 635 SCL_V_INIT_FRAC, init_frac, in dpp1_dscl_set_manual_ratio_init() 641 init_frac = dc_fixpt_u0d19(bot) << 5; in dpp1_dscl_set_manual_ratio_init() 644 SCL_V_INIT_FRAC_BOT, init_frac, in dpp1_dscl_set_manual_ratio_init() 648 init_frac = dc_fixpt_u0d19(data->inits.v_c) << 5; in dpp1_dscl_set_manual_ratio_init() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gf100.c | 1871 int init_frac[GPC_MAX], init_err[GPC_MAX], run_err[GPC_MAX], i, j; in gf100_gr_oneinit_tiles() local 1924 init_frac[i] = gr->tpc_nr[gpc_map[i]] * gr->gpc_nr * mul_factor; in gf100_gr_oneinit_tiles() 1926 run_err[i] = init_frac[i] + init_err[i]; in gf100_gr_oneinit_tiles() 1933 run_err[j] += init_frac[j] - comm_denom; in gf100_gr_oneinit_tiles() 1935 run_err[j] += init_frac[j]; in gf100_gr_oneinit_tiles()
|