Commit e70fe3b1 authored by Yue Hin Lau's avatar Yue Hin Lau Committed by Alex Deucher

drm/amd/display: hubbub function flipping true and false

no logic change
Signed-off-by: default avatarYue Hin Lau <Yuehin.Lau@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c2a5b500
...@@ -139,7 +139,7 @@ bool hubbub1_verify_allow_pstate_change_high( ...@@ -139,7 +139,7 @@ bool hubbub1_verify_allow_pstate_change_high(
"pstate took longer than expected ~%dus\n", "pstate took longer than expected ~%dus\n",
i); i);
return false; return true;
} }
if (max_sampled_pstate_wait_us < i) if (max_sampled_pstate_wait_us < i)
max_sampled_pstate_wait_us = i; max_sampled_pstate_wait_us = i;
...@@ -159,7 +159,7 @@ bool hubbub1_verify_allow_pstate_change_high( ...@@ -159,7 +159,7 @@ bool hubbub1_verify_allow_pstate_change_high(
"pstate TEST_DEBUG_DATA: 0x%X\n", "pstate TEST_DEBUG_DATA: 0x%X\n",
debug_data); debug_data);
return true; return false;
} }
static uint32_t convert_and_clamp( static uint32_t convert_and_clamp(
......
...@@ -548,7 +548,7 @@ void dcn10_verify_allow_pstate_change_high(struct dc *dc) ...@@ -548,7 +548,7 @@ void dcn10_verify_allow_pstate_change_high(struct dc *dc)
{ {
static bool should_log_hw_state; /* prevent hw state log by default */ 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) { if (should_log_hw_state) {
dcn10_log_hw_state(dc); dcn10_log_hw_state(dc);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment