aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-06-24 10:13:56 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-06-25 13:23:17 -0500
commita6bbc3d5ac29cabe2ea7b54cddb846f93251b89b (patch)
treef6c45c09b7908dfbbcd0397c81cfae81c9ed3c45 /drivers/gpu/drm/amd/display
parentdrm/amdgpu/display: switch udelay to msleep (diff)
downloadlinux-dev-a6bbc3d5ac29cabe2ea7b54cddb846f93251b89b.tar.xz
linux-dev-a6bbc3d5ac29cabe2ea7b54cddb846f93251b89b.zip
drm/amdgpu/display: drop ifdefs around comments
No need to protect the comments. The DCN1_01 config was dopped anyway. Got accidently brought back with the navi merge. Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c6
1 files changed, 0 insertions, 6 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 6392ec7b8137..a780057e2dbc 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c
@@ -147,7 +147,6 @@ bool hubbub1_verify_allow_pstate_change_high(
forced_pstate_allow = false;
}
-#ifdef CONFIG_DRM_AMD_DC_DCN1_01
/* RV2:
* dchubbubdebugind, at: 0xB
* description
@@ -184,8 +183,6 @@ bool hubbub1_verify_allow_pstate_change_high(
* 30: Arbiter's allow_pstate_change
* 31: SOC pstate change request"
*/
-#else
-#ifdef CONFIG_DRM_AMD_DC_DCN2_0
/*DCN2.x:
HUBBUB:DCHUBBUB_TEST_ARB_DEBUG10 DCHUBBUBDEBUGIND:0xB
0: Pipe0 Plane0 Allow P-state Change
@@ -221,7 +218,6 @@ bool hubbub1_verify_allow_pstate_change_high(
30: Arbiter`s Allow P-state Change
31: SOC P-state Change request
*/
-#else
/* RV1:
* dchubbubdebugind, at: 0x7
* description "3-0: Pipe0 cursor0 QOS
@@ -245,8 +241,6 @@ bool hubbub1_verify_allow_pstate_change_high(
* 30: Arbiter's allow_pstate_change
* 31: SOC pstate change request
*/
-#endif
-#endif
REG_WRITE(DCHUBBUB_TEST_DEBUG_INDEX, hubbub1->debug_test_index_pstate);