Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c868 int refresh_hz) in dc_stream_get_brightness_millinits_linear_interpolation() argument
878 return (y_intercept + refresh_hz * slope); in dc_stream_get_brightness_millinits_linear_interpolation()
903 …nt dc_stream_get_brightness_millinits_from_refresh (struct dc_stream_state *stream, int refresh_hz) in dc_stream_get_brightness_millinits_from_refresh() argument
905 int nearest_smallest_index = dc_stream_get_nearest_smallest_index(stream, refresh_hz); in dc_stream_get_brightness_millinits_from_refresh()
908 if (nearest_smallest_value == refresh_hz) in dc_stream_get_brightness_millinits_from_refresh()
912 …inits_linear_interpolation(stream, nearest_smallest_index - 1, nearest_smallest_index, refresh_hz); in dc_stream_get_brightness_millinits_from_refresh()
917 …inits_linear_interpolation(stream, nearest_smallest_index, nearest_smallest_index + 1, refresh_hz); in dc_stream_get_brightness_millinits_from_refresh()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
Ddcn30_hwseq.c960 unsigned int refresh_hz = div_u64((unsigned long long) stream->timing.pix_clk_100hz * in dcn30_apply_idle_power_optimizations() local
985 unsigned int denom = refresh_hz * 6528; in dcn30_apply_idle_power_optimizations()
988 tmr_delay = div_u64(((1000000LL + 2 * stutter_period * refresh_hz) * in dcn30_apply_idle_power_optimizations()
998 if (stutter_period > 100000/refresh_hz) in dcn30_apply_idle_power_optimizations()
1012 tmr_delay = div_u64(((1000000LL + 2 * stutter_period * refresh_hz) * in dcn30_apply_idle_power_optimizations()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c620 unsigned int v_total, refresh_hz; in dm_crtc_high_irq() local
625 refresh_hz = div_u64((uint64_t) stream->timing.pix_clk_100hz * in dm_crtc_high_irq()
627 mdelay(1000 / refresh_hz); in dm_crtc_high_irq()