Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_mem_input.c678 uint32_t pixels_per_second; in get_dmif_switch_time_us() local
690 pixels_per_second = pix_clk_khz * 1000; in get_dmif_switch_time_us()
693 if (!pixels_per_second || !pixels_per_frame) { in get_dmif_switch_time_us()
696 ASSERT(pixels_per_second); in get_dmif_switch_time_us()
700 refresh_rate = pixels_per_second / pixels_per_frame; in get_dmif_switch_time_us()
/openbmc/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c761 uint64_t active_area, pixels_per_second, bandwidth; in mgag200_calculate_mode_bandwidth() local
772 pixels_per_second = active_area * mode->clock * 1000; in mgag200_calculate_mode_bandwidth()
773 do_div(pixels_per_second, total_area); in mgag200_calculate_mode_bandwidth()
775 bandwidth = pixels_per_second * bytes_per_pixel * 100; in mgag200_calculate_mode_bandwidth()