Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_wrapper.c360 int min_state_for_g6_temp_read = 0; in call_dml_mode_support_and_programming() local
370 min_state_for_g6_temp_read = calculate_lowest_supported_state_for_temp_read(dml2, context, in call_dml_mode_support_and_programming()
373 ASSERT(min_state_for_g6_temp_read >= 0); in call_dml_mode_support_and_programming()
378 /* Upon trying to sett certain frequencies in FRL, min_state_for_g6_temp_read is reported as -1. This leads to an invalid value of min_state causing crashes later on. in call_dml_mode_support_and_programming()
379 * Use the default logic for min_state only when min_state_for_g6_temp_read is a valid value. In other cases, use the value calculated by the DML directly. in call_dml_mode_support_and_programming()
382 if (min_state_for_g6_temp_read >= 0) in call_dml_mode_support_and_programming()
383 min_state = min_state_for_g6_temp_read > s->mode_support_params.out_lowest_state_idx ? min_state_for_g6_temp_read : s->mode_support_params.out_lowest_state_idx; in call_dml_mode_support_and_programming()