Searched refs:reduce_fraction (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/amd/display/dc/basics/ |
D | conversion.h | 41 void reduce_fraction(uint32_t num, uint32_t den,
|
D | conversion.c | 115 void reduce_fraction(uint32_t num, uint32_t den, in reduce_fraction() function
|
/drivers/gpu/drm/ingenic/ |
D | ingenic-ipu.c | 297 static int reduce_fraction(unsigned int *num, unsigned int *denom) in reduce_fraction() function 632 if (!reduce_fraction(&num_w, &denom_w)) in ingenic_ipu_plane_atomic_check() 638 if (!reduce_fraction(&num_h, &denom_h)) in ingenic_ipu_plane_atomic_check()
|
/drivers/gpu/drm/amd/display/dc/ |
D | dc_dmub_srv.c | 656 reduce_fraction(subvp_pipe->stream->src.height, subvp_pipe->stream->dst.height, in populate_subvp_cmd_pipe_info() 658 reduce_fraction(subvp_pipe->plane_state->src_rect.height, subvp_pipe->plane_state->dst_rect.height, in populate_subvp_cmd_pipe_info() 660 …reduce_fraction(out_num_stream * out_num_plane, out_den_stream * out_den_plane, &out_num, &out_den… in populate_subvp_cmd_pipe_info()
|