Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stream.c1022 int refresh_hz) in dc_stream_get_brightness_millinits_linear_interpolation() argument
1032 return (y_intercept + refresh_hz * slope); in dc_stream_get_brightness_millinits_linear_interpolation()
1057 …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
1059 int nearest_smallest_index = dc_stream_get_nearest_smallest_index(stream, refresh_hz); in dc_stream_get_brightness_millinits_from_refresh()
1062 if (nearest_smallest_value == refresh_hz) in dc_stream_get_brightness_millinits_from_refresh()
1066 …inits_linear_interpolation(stream, nearest_smallest_index - 1, nearest_smallest_index, refresh_hz); in dc_stream_get_brightness_millinits_from_refresh()
1071 …inits_linear_interpolation(stream, nearest_smallest_index, nearest_smallest_index + 1, refresh_hz); in dc_stream_get_brightness_millinits_from_refresh()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c980 unsigned int refresh_hz = div_u64((unsigned long long) stream->timing.pix_clk_100hz * in dcn30_apply_idle_power_optimizations() local
1005 unsigned int denom = refresh_hz * 6528; in dcn30_apply_idle_power_optimizations()
1008 tmr_delay = div_u64(((1000000LL + 2 * stutter_period * refresh_hz) * in dcn30_apply_idle_power_optimizations()
1018 if (stutter_period > 100000/refresh_hz) in dcn30_apply_idle_power_optimizations()
1032 tmr_delay = div_u64(((1000000LL + 2 * stutter_period * refresh_hz) * in dcn30_apply_idle_power_optimizations()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c669 unsigned int v_total, refresh_hz; in dm_crtc_high_irq() local
674 refresh_hz = div_u64((uint64_t) stream->timing.pix_clk_100hz * in dm_crtc_high_irq()
676 mdelay(1000 / refresh_hz); in dm_crtc_high_irq()