diff options
author | Yue Hin Lau <Yuehin.Lau@amd.com> | 2017-10-26 11:29:54 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-06 12:47:24 -0500 |
commit | e70fe3b1f06fb12c5fb181c06bab745d0bad3fa5 (patch) | |
tree | 677c91946e937bff61ee0605d477c000cd2f8d58 /drivers/gpu/drm | |
parent | c2a5b5008a92efdf816cf3c3b9f37aa8d6f8b54e (diff) | |
download | linux-e70fe3b1f06fb12c5fb181c06bab745d0bad3fa5.tar.bz2 |
drm/amd/display: hubbub function flipping true and false
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c index b1c9ba241ba4..23c4573f7a34 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c @@ -139,7 +139,7 @@ bool hubbub1_verify_allow_pstate_change_high( "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; @@ -159,7 +159,7 @@ bool hubbub1_verify_allow_pstate_change_high( "pstate TEST_DEBUG_DATA: 0x%X\n", debug_data); - return true; + return false; } static uint32_t convert_and_clamp( diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c index fe236a9fd147..90f1f54ade61 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c @@ -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 */ - 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); } |