Searched refs:hw_divisor (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_attributes.c94 panfrost_compute_magic_divisor(unsigned hw_divisor, unsigned *o_shift, unsigned *extra_flags) argument
100 unsigned shift = util_logbase2(hw_divisor);
106 double hw_divisor_d = hw_divisor;
114 uint64_t e = t % hw_divisor;
H A Dpan_encoder.h89 panfrost_compute_magic_divisor(unsigned hw_divisor, unsigned *o_shift, unsigned *extra_flags);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/
H A Dpan_cmdstream.c1681 unsigned hw_divisor = ctx->padded_count * divisor; local in function:panfrost_emit_vertex_data
1701 } else if (util_is_power_of_two_or_zero(hw_divisor)) {
1707 cfg.divisor_r = __builtin_ctz(hw_divisor);
1714 panfrost_compute_magic_divisor(hw_divisor, &shift, &extra_flags);

Completed in 8 milliseconds