no logic change
Signed-off-by: Yue Hin Lau <Yuehin.Lau@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
"pstate took longer than expected ~%dus\n",
i);
- return false;
+ return true;
}
if (max_sampled_pstate_wait_us < i)
max_sampled_pstate_wait_us = i;
"pstate TEST_DEBUG_DATA: 0x%X\n",
debug_data);
- return true;
+ return false;
}
static uint32_t convert_and_clamp(
{
static bool should_log_hw_state; /* prevent hw state log by default */
- if (hubbub1_verify_allow_pstate_change_high(dc->res_pool->hubbub)) {
+ if (!hubbub1_verify_allow_pstate_change_high(dc->res_pool->hubbub)) {
if (should_log_hw_state) {
dcn10_log_hw_state(dc);
}