Home
last modified time | relevance | path

Searched refs:pixels_per_second (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_mem_input.c676 uint32_t pixels_per_second; in get_dmif_switch_time_us() local
688 pixels_per_second = pix_clk_khz * 1000; in get_dmif_switch_time_us()
691 if (!pixels_per_second || !pixels_per_frame) { in get_dmif_switch_time_us()
694 ASSERT(pixels_per_second); in get_dmif_switch_time_us()
698 refresh_rate = pixels_per_second / pixels_per_frame; in get_dmif_switch_time_us()
/OK3568_Linux_fs/external/xserver/hw/xfree86/modes/
H A Dxf86Modes.c109 float a_active, a_total, active_percent, pixels_per_second; in xf86ModeBandwidth() local
118 pixels_per_second = active_percent * mode->Clock * 1000.0; in xf86ModeBandwidth()
120 return (unsigned int) (pixels_per_second * bytes_per_pixel / (1024 * 1024)); in xf86ModeBandwidth()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c1401 uint64_t active_area, pixels_per_second, bandwidth; in mga_vga_calculate_mode_bandwidth() local
1412 pixels_per_second = active_area * mode->clock * 1000; in mga_vga_calculate_mode_bandwidth()
1413 do_div(pixels_per_second, total_area); in mga_vga_calculate_mode_bandwidth()
1415 bandwidth = pixels_per_second * bytes_per_pixel * 100; in mga_vga_calculate_mode_bandwidth()