Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stream.c861 int refresh_hz) in dc_stream_get_brightness_millinits_linear_interpolation() argument
871 return (y_intercept + refresh_hz * slope); in dc_stream_get_brightness_millinits_linear_interpolation()
896 …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
898 int nearest_smallest_index = dc_stream_get_nearest_smallest_index(stream, refresh_hz); in dc_stream_get_brightness_millinits_from_refresh()
901 if (nearest_smallest_value == refresh_hz) in dc_stream_get_brightness_millinits_from_refresh()
905 …inits_linear_interpolation(stream, nearest_smallest_index - 1, nearest_smallest_index, refresh_hz); in dc_stream_get_brightness_millinits_from_refresh()
910 …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.c966 unsigned int refresh_hz = div_u64((unsigned long long) stream->timing.pix_clk_100hz * in dcn30_apply_idle_power_optimizations() local
991 unsigned int denom = refresh_hz * 6528; in dcn30_apply_idle_power_optimizations()
994 tmr_delay = div_u64(((1000000LL + 2 * stutter_period * refresh_hz) * in dcn30_apply_idle_power_optimizations()
1004 if (stutter_period > 100000/refresh_hz) in dcn30_apply_idle_power_optimizations()
1018 tmr_delay = div_u64(((1000000LL + 2 * stutter_period * refresh_hz) * in dcn30_apply_idle_power_optimizations()